package com.wicket.okrapp.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.exception.BizException;
import com.wicket.okrapp.common.util.CommonFunctionHelper;
import com.wicket.okrapp.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;

import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComRespDto;
import com.wicket.okrframework.integration.FwBaseSystemTestDomainClient;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import com.wicket.okrapp.base.service.MOmsAchievementGradeService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementGrade;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementGradeByEntityReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementGradeDto;
import com.wicket.okrapp.base.service.MOmsAchievementTypeService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementType;
import com.wicket.okrapp.common.exception.Assert;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTypeDetailReq;
import com.wicket.okrapp.base.service.MOmsAchievementCategoryService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementCategory;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementCategoryDetailReq;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementGradeDetailReq;
import com.wicket.okrapp.base.service.MOmsAchievementTypeGradeRelationshipService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementTypeGradeRelationship;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTypeGradeRelationshipListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementTypeGradeRelationshipDto;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrapp.biz.service.TargetContentService;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTypeListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementTypeDto;
import com.wicket.okrapp.biz.service.nb.NbAchievement;
import com.wicket.okrframework.integration.FwBaseBatchClient;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementCategoryListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementCategoryDto;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementGradeListReq;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTypeGradeRelationshipDetailReq;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementTeam;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTeamListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementTeamDto;
import com.wicket.okrapp.base.service.MOmsAchievementService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievement;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementDetailReq;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementDto;
import com.wicket.okrapp.base.service.MOmsAchievementTeamMemberService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementTeamMember;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTeamMemberListReq;
//import com.wicket.okrframework.integration.FwBaseAchievementClient;
import com.wicket.okrapp.base.service.MOmsAchievementCopyrightOwningService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementCopyrightOwning;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementTeamMemberDetailReq;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementCopyrightOwningDetailReq;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementCopyrightOwningListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementCopyrightOwningDto;
import com.wicket.okrcomponent.integration.dto.ImplementStringEfficiencyCheckComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementStringEfficiencyCheckComReqDto;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.base.service.MOmsAchievementDockingService;
import com.wicket.okrapp.dal.po.mbg.OmsAchievementDocking;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementDockingListReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementDockingDto;
import com.wicket.okrapp.biz.service.UnstructuredDataService;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementTypeByEntityReq;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementCategoryByEntityReq;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementDockingByRootObjectiveIdReq;
import com.wicket.okrapp.biz.service.TargetCalcService;
import com.wicket.okrapp.biz.service.SmallCircleCommonService;
import com.wicket.okrapp.biz.service.EvaThemeService;
import com.wicket.okrcalc.integration.FwCalcTargetCalcClient;
import com.wicket.okrframework.integration.FwBaseOrgClient;
import com.wicket.okrapp.base.service.dto.req.QueryAchievementDockingDetailReq;
//import com.wicket.okrcalc.integration.dto.StatisticsDockAchievementObjectiveActualComRespDto;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementReq;
import com.wicket.okrapp.biz.service.IndexSystemService;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementCopyrightOwningReq;
import com.wicket.okrapp.biz.service.CycleTypeService;
import com.wicket.okrapp.biz.service.dto.common.AchievementInfoDto;
import com.wicket.okrapp.base.service.MOmsEvaluationObjectTargetCycleService;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementDockingByTargetCycleContentIdReq;
import com.wicket.okrapp.biz.service.dto.common.AchievementDockDto;
import com.wicket.okrapp.biz.service.VirtualOrgService;
import com.wicket.okrapp.biz.service.AchievementDockService;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrapp.base.service.MOmsExecuteCycleStageService;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrapp.biz.service.dto.common.DocumentDto;
import com.wicket.okrcomponent.integration.FwCompUnstructuredDataClient;
import com.wicket.okrapp.base.service.MOmsBizAppHypertextContentService;
import com.wicket.okrapp.dal.po.mbg.OmsBizAppHypertextContent;
import com.wicket.okrapp.base.service.dto.req.QueryBusAppHypertextContentDetailReq;
import com.wicket.okrapp.biz.service.HypertextContentService;
import com.wicket.okrapp.base.service.dto.req.BatchQueryAchievementByCreateInductionIdComReq;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class AchievementServiceImpl
  implements com.wicket.okrapp.biz.service.AchievementService {

  @Resource
  private RedisUtil redisUtil;
@Resource
  private MOmsAchievementTypeService mOmsAchievementTypeService;
@Resource
  private MOmsAchievementCategoryService mOmsAchievementCategoryService;
@Resource
  private MOmsAchievementTypeGradeRelationshipService mOmsAchievementTypeGradeRelationshipService;
@Resource
  private TargetContentService targetContentService;
@Resource
  private NbAchievement nbAchievement;
@Resource
  private FwBaseBatchClient fwBaseBatchClient;
/**
   * D3查询成果等级列表(公共)[9166]
   * gen by moon at 4/3/2024, 6:52:56 PM
   */
  @Trace(operationName = "D3查询成果等级列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementGradeListComRespDto queryAchievementGradeListCom(QueryAchievementGradeListComReqDto reqDto){


      List<OmsAchievementGrade> listOmsAchievementGrade_1 =new ArrayList<>();
//步骤0: 3-10-04查询成果等级列表 - queryAchievementGradeList
     List<OmsAchievementGrade> listOmsAchievementGrade =new ArrayList<>();
    QueryAchievementGradeListReq queryAchievementGradeListReq=new QueryAchievementGradeListReq();
  if(reqDto!=null){
      queryAchievementGradeListReq.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692990_1
queryAchievementGradeListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692991_1
queryAchievementGradeListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692992_1
queryAchievementGradeListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692993_1
    }

    /*3-10-04查询成果等级列表[9113]   */

      listOmsAchievementGrade = mOmsAchievementGradeService.queryAchievementGradeList(queryAchievementGradeListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementGrade_1 = listOmsAchievementGrade;

QueryAchievementGradeListComRespDto retData = new QueryAchievementGradeListComRespDto();
  retData.setAchievementGradeList(listOmsAchievementGrade_1.stream().map(item -> BeanUtil.toBean(item, AchievementGradeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1692999_1


  
  
return retData;
  }
/**
   * D3批量查询成果等级By主键(公共)[9168]
   * gen by moon at 4/3/2024, 6:52:58 PM
   */
  @Trace(operationName = "D3批量查询成果等级By主键(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityCom(BatchQueryAchievementGradeByEntityComReqDto reqDto){
    

      List<OmsAchievementGrade> listOmsAchievementGrade_1 =new ArrayList<>();
//步骤0: 3-10-04批量查询成果等级By主键 - batchQueryAchievementGradeByEntity
     List<OmsAchievementGrade> listOmsAchievementGrade =new ArrayList<>();
    BatchQueryAchievementGradeByEntityReq batchQueryAchievementGradeByEntityReq=new BatchQueryAchievementGradeByEntityReq();
  if(reqDto!=null){
      batchQueryAchievementGradeByEntityReq.setAchievementGradeList(reqDto.getAchievementGradeList());//list-field-assign//sourceId:1693017_1
batchQueryAchievementGradeByEntityReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693014_1
batchQueryAchievementGradeByEntityReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693015_1
batchQueryAchievementGradeByEntityReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693016_1
    }

    /*3-10-04批量查询成果等级By主键[9167]   */

      listOmsAchievementGrade = mOmsAchievementGradeService.batchQueryAchievementGradeByEntity(batchQueryAchievementGradeByEntityReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementGrade_1 = listOmsAchievementGrade;

BatchQueryAchievementGradeByEntityComRespDto retData = new BatchQueryAchievementGradeByEntityComRespDto();
  retData.setAchievementGradeList(listOmsAchievementGrade_1.stream().map(item -> BeanUtil.toBean(item, AchievementGradeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693030_1


  
  
return retData;
  }
/**
   * D3新增成果类型(公共)[9147]
   * gen by moon at 5/9/2024, 2:48:41 PM
   */
  @Trace(operationName = "D3新增成果类型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTypeComRespDto addAchievementTypeCom(AddAchievementTypeComReqDto reqDto){
    
      
      String string_1 =null;
//步骤0: 3-10-02新增成果类型 - addAchievementType
     String string = null;
    OmsAchievementType omsAchievementType=new OmsAchievementType();
  if(reqDto!=null){
      omsAchievementType.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692569_1
omsAchievementType.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692570_1
omsAchievementType.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1692571_1
omsAchievementType.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692572_1
omsAchievementType.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785566_1
omsAchievementType.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1692573_1
omsAchievementType.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692574_1
omsAchievementType.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692575_1
omsAchievementType.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1692576_1
    }
  
    /*3-10-02新增成果类型[9098]   */
    Assert.isNull(omsAchievementType.getAchievementTypeNumber(),"D3新增成果类型(公共)-3-10-02新增成果类型-成果类型编号不能为空",false);
Assert.isNull(omsAchievementType.getAchievementTypeName(),"D3新增成果类型(公共)-3-10-02新增成果类型-成果类型名称不能为空",false);
Assert.isNull(omsAchievementType.getIsStandard(),"D3新增成果类型(公共)-3-10-02新增成果类型-是否标准成果类型不能为空",false);
Assert.isNull(omsAchievementType.getUnit(),"D3新增成果类型(公共)-3-10-02新增成果类型-成果单位不能为空",false);
Assert.isNull(omsAchievementType.getBelongName(),"D3新增成果类型(公共)-3-10-02新增成果类型-版权归属别名不能为空",false);
Assert.isNull(omsAchievementType.getSubjectLifeCycle(),"D3新增成果类型(公共)-3-10-02新增成果类型-主体生命周期不能为空",false);
Assert.isNull(omsAchievementType.getSpaceId(),"D3新增成果类型(公共)-3-10-02新增成果类型-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementType.getAppId(),"D3新增成果类型(公共)-3-10-02新增成果类型-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementTypeService.addAchievementType(omsAchievementType)/*vcase invoke 本地 method 方法调用;*/;
      
      
      string_1 = string;
    
AddAchievementTypeComRespDto retData = new AddAchievementTypeComRespDto();
  if(string_1!=null){
      retData.setAchievementTypeId(string_1);//SimpleFieldAssign//sourceId:1692596_1
    }
  

  
  
return retData;
  }
/**
   * D3查询成果类型详情(公共)[9148]
   * gen by moon at 4/7/2024, 9:02:38 AM
   */
  @Trace(operationName = "D3查询成果类型详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailCom(QueryAchievementTypeDetailComReqDto reqDto){
    
      
      OmsAchievementType omsAchievementType_1 =null;
//步骤0: 3-10-02查询成果类型详情 - queryAchievementTypeDetail
     OmsAchievementType omsAchievementType = null;
    QueryAchievementTypeDetailReq queryAchievementTypeDetailReq=new QueryAchievementTypeDetailReq();
  if(reqDto!=null){
      queryAchievementTypeDetailReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692656_1
queryAchievementTypeDetailReq.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692657_1
queryAchievementTypeDetailReq.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692638_1
queryAchievementTypeDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692639_1
queryAchievementTypeDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692640_1
queryAchievementTypeDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692641_1
    }
  
    /*3-10-02查询成果类型详情[9102]   */
    Assert.isNull(queryAchievementTypeDetailReq.getSpaceId(),"D3查询成果类型详情(公共)-3-10-02查询成果类型详情-创建于空间ID不能为空",false);
      omsAchievementType = mOmsAchievementTypeService.queryAchievementTypeDetail(queryAchievementTypeDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      omsAchievementType_1 = omsAchievementType;
    
QueryAchievementTypeDetailComRespDto retData = new QueryAchievementTypeDetailComRespDto();
  if(omsAchievementType_1!=null){
      retData.setAchievementTypeId(omsAchievementType_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692664_1
retData.setAchievementTypeNumber(omsAchievementType_1.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692665_1
retData.setAchievementTypeName(omsAchievementType_1.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692666_1
retData.setAchievementDesc(omsAchievementType_1.getAchievementDesc());//SimpleFieldAssign//sourceId:1692667_1
retData.setIsStandard(omsAchievementType_1.getIsStandard());//SimpleFieldAssign//sourceId:1692668_1
retData.setBelongName(omsAchievementType_1.getBelongName());//SimpleFieldAssign//sourceId:1692669_1
retData.setUnit(omsAchievementType_1.getUnit());//SimpleFieldAssign//sourceId:1709187_1
retData.setSubjectLifeCycle(omsAchievementType_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693266_1
retData.setOperationInductionId(omsAchievementType_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1693267_1
retData.setOperateTime(omsAchievementType_1.getOperateTime());//SimpleFieldAssign//sourceId:1693268_1
    }
  

  
  
return retData;
  }
/**
   * D3新增成果类型[9149]
   * gen by moon at 4/3/2024, 2:20:00 PM
   */
  @Trace(operationName = "D3新增成果类型")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTypeRespDto addAchievementType(AddAchievementTypeReqDto reqDto){
    
      
      AddAchievementTypeComRespDto addAchievementTypeComRespDto_1 =null;
//virtualUsage D3查空间下成果类型编号是否重复(用于判断唯一性)  65898
      QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
    QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto.setIsArchive("FALSE");//sourceId:1692673_1_65898
queryAchievementTypeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692675_1_65898
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692671_1_65898
    }
  
    /*D3查空间下成果类型编号是否重复(用于判断唯一性)[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeNumber(),"D3新增成果类型-D3查空间下成果类型编号是否重复(用于判断唯一性)-成果类型编号不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getIsArchive(),"D3新增成果类型-D3查空间下成果类型编号是否重复(用于判断唯一性)-是否存档不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(),"D3新增成果类型-D3查空间下成果类型编号是否重复(用于判断唯一性)-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
if((queryAchievementTypeDetailComRespDto!= null&& queryAchievementTypeDetailComRespDto.getAchievementTypeId() == null )) {
        //if(D3查空间下成果类型编号是否重复(用于判断唯一性).成果类型ID 值等于空 )  65899
        
AddAchievementTypeComRespDto addAchievementTypeComRespDto = null;
    AddAchievementTypeComReqDto addAchievementTypeComReqDto=new AddAchievementTypeComReqDto();
  addAchievementTypeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692870_1_65900
addAchievementTypeComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692871_1_65900
if(reqDto!=null){
      addAchievementTypeComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692624_1_65900
addAchievementTypeComReqDto.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692625_1_65900
addAchievementTypeComReqDto.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1692628_1_65900
addAchievementTypeComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1692626_1_65900
addAchievementTypeComReqDto.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692627_1_65900
addAchievementTypeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692629_1_65900
    }
  
    /*D3新增成果类型(公共)[9147]   */
    Assert.isNull(addAchievementTypeComReqDto.getAchievementTypeNumber(),"D3新增成果类型-D3新增成果类型(公共)-成果类型编号不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getAchievementTypeName(),"D3新增成果类型-D3新增成果类型(公共)-成果类型名称不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getBelongName(),"D3新增成果类型-D3新增成果类型(公共)-版权归属别名不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getIsStandard(),"D3新增成果类型-D3新增成果类型(公共)-是否标准成果类型不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getSubjectLifeCycle(),"D3新增成果类型-D3新增成果类型(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getSpaceId(),"D3新增成果类型-D3新增成果类型(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getAppId(),"D3新增成果类型-D3新增成果类型(公共)-创建于联盟应用ID不能为空",false);
      addAchievementTypeComRespDto = addAchievementTypeCom(addAchievementTypeComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      addAchievementTypeComRespDto_1 = addAchievementTypeComRespDto;
      }
else if((queryAchievementTypeDetailComRespDto!= null&& queryAchievementTypeDetailComRespDto.getAchievementTypeId() != null )){
       //elseif(D3查空间下成果类型编号是否重复(用于判断唯一性).成果类型ID 值不等于空 )  65901
      
//异常结束 65902
      throw new BizException("3340000360","对不起，成果类型编号已存在，请检查后再试~",false);
    }
AddAchievementTypeRespDto retData = new AddAchievementTypeRespDto();
  if(addAchievementTypeComRespDto_1!=null){
      retData.setAchievementTypeId(addAchievementTypeComRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692713_1
    }
  

  
  
return retData;
  }
/**
   * D3新增成果类别(公共)[9150]
   * gen by moon at 4/3/2024, 2:20:03 PM
   */
  @Trace(operationName = "D3新增成果类别(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementCategoryComRespDto addAchievementCategoryCom(AddAchievementCategoryComReqDto reqDto){
    
      
      String string_1 =null;
//步骤0: 3-10-03新增成果类别 - addAchievementCategory
     String string = null;
    OmsAchievementCategory omsAchievementCategory=new OmsAchievementCategory();
  if(reqDto!=null){
      omsAchievementCategory.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692677_1
omsAchievementCategory.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692678_1
omsAchievementCategory.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692679_1
omsAchievementCategory.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692680_1
omsAchievementCategory.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692681_1
omsAchievementCategory.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692682_1
omsAchievementCategory.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1692683_1
    }
  
    /*3-10-03新增成果类别[9103]   */
    Assert.isNull(omsAchievementCategory.getAchievementTypeId(),"D3新增成果类别(公共)-3-10-03新增成果类别-关联成果类型ID不能为空",false);
Assert.isNull(omsAchievementCategory.getAchievementCategoryNumber(),"D3新增成果类别(公共)-3-10-03新增成果类别-成果类别编号不能为空",false);
Assert.isNull(omsAchievementCategory.getAchievementCategoryName(),"D3新增成果类别(公共)-3-10-03新增成果类别-成果类别名称不能为空",false);
Assert.isNull(omsAchievementCategory.getSubjectLifeCycle(),"D3新增成果类别(公共)-3-10-03新增成果类别-主体生命周期不能为空",false);
Assert.isNull(omsAchievementCategory.getSpaceId(),"D3新增成果类别(公共)-3-10-03新增成果类别-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementCategory.getAppId(),"D3新增成果类别(公共)-3-10-03新增成果类别-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementCategoryService.addAchievementCategory(omsAchievementCategory)/*vcase invoke 本地 method 方法调用;*/;
      
      
      string_1 = string;
    
AddAchievementCategoryComRespDto retData = new AddAchievementCategoryComRespDto();
  if(string_1!=null){
      retData.setAchievementCategoryId(string_1);//SimpleFieldAssign//sourceId:1692685_1
    }
  

  
  
return retData;
  }
/**
   * D3新增成果类别业务处理(公共)[9151]
   * gen by moon at 4/3/2024, 2:20:05 PM
   */
  @Trace(operationName = "D3新增成果类别业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementCategoryBusinessHandleComRespDto addAchievementCategoryBusinessHandleCom(AddAchievementCategoryBusinessHandleComReqDto reqDto){
    
      
      AddAchievementCategoryComRespDto addAchievementCategoryComRespDto_1 =null;
//virtualUsage D3查询成果类别详情-判断成果类别编号唯一性  65903
      QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto = null;
    QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto=new QueryAchievementCategoryDetailComReqDto();
  queryAchievementCategoryDetailComReqDto.setIsArchive("FALSE");//sourceId:1692795_1_65903
if(reqDto!=null){
      queryAchievementCategoryDetailComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692794_1_65903
queryAchievementCategoryDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692796_1_65903
    }
  
    /*D3查询成果类别详情-判断成果类别编号唯一性[9153]   */
    Assert.isNull(queryAchievementCategoryDetailComReqDto.getAchievementCategoryNumber(),"D3新增成果类别业务处理(公共)-D3查询成果类别详情-判断成果类别编号唯一性-成果类别编号不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getIsArchive(),"D3新增成果类别业务处理(公共)-D3查询成果类别详情-判断成果类别编号唯一性-是否存档不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getSpaceId(),"D3新增成果类别业务处理(公共)-D3查询成果类别详情-判断成果类别编号唯一性-创建于空间ID不能为空",false);
      queryAchievementCategoryDetailComRespDto = queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
if((queryAchievementCategoryDetailComRespDto!= null&& queryAchievementCategoryDetailComRespDto.getAchievementCategoryId() == null )) {
        //if(D3查询成果类别详情-判断成果类别编号唯一性.成果类别ID 值等于空 )  65904
        
AddAchievementCategoryComRespDto addAchievementCategoryComRespDto = null;
    AddAchievementCategoryComReqDto addAchievementCategoryComReqDto=new AddAchievementCategoryComReqDto();
  addAchievementCategoryComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692875_1_65905
if(reqDto!=null){
      addAchievementCategoryComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692694_1_65905
addAchievementCategoryComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692695_1_65905
addAchievementCategoryComReqDto.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692696_1_65905
addAchievementCategoryComReqDto.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692697_1_65905
addAchievementCategoryComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692698_1_65905
addAchievementCategoryComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692699_1_65905
    }
  
    /*D3新增成果类别(公共)[9150]   */
    Assert.isNull(addAchievementCategoryComReqDto.getAchievementTypeId(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-关联成果类型ID不能为空",false);
Assert.isNull(addAchievementCategoryComReqDto.getAchievementCategoryNumber(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-成果类别编号不能为空",false);
Assert.isNull(addAchievementCategoryComReqDto.getAchievementCategoryName(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-成果类别名称不能为空",false);
Assert.isNull(addAchievementCategoryComReqDto.getSubjectLifeCycle(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementCategoryComReqDto.getSpaceId(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementCategoryComReqDto.getAppId(),"D3新增成果类别业务处理(公共)-D3新增成果类别(公共)-创建于联盟应用ID不能为空",false);
      addAchievementCategoryComRespDto = addAchievementCategoryCom(addAchievementCategoryComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      addAchievementCategoryComRespDto_1 = addAchievementCategoryComRespDto;
      }
else{
       //else  65906
      
//异常结束 65907
      throw new BizException("3340000361","对不起，成果类别编号已存在，请检查后再试~",false);
    }
AddAchievementCategoryBusinessHandleComRespDto retData = new AddAchievementCategoryBusinessHandleComRespDto();
  if(addAchievementCategoryComRespDto_1!=null){
      retData.setAchievementCategoryId(addAchievementCategoryComRespDto_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692854_1
    }
  

  
  
return retData;
  }
/**
   * D3查询成果类别详情(公共)[9153]
   * gen by moon at 6/14/2024, 11:48:54 AM
   */
  @Trace(operationName = "D3查询成果类别详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailCom(QueryAchievementCategoryDetailComReqDto reqDto){
    
      
      OmsAchievementCategory omsAchievementCategory_1 =null;
//步骤0: 3-10-03查询成果类别详情 - queryAchievementCategoryDetail
     OmsAchievementCategory omsAchievementCategory = null;
    QueryAchievementCategoryDetailReq queryAchievementCategoryDetailReq=new QueryAchievementCategoryDetailReq();
  if(reqDto!=null){
      queryAchievementCategoryDetailReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692760_1
queryAchievementCategoryDetailReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692761_1
queryAchievementCategoryDetailReq.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692716_1
queryAchievementCategoryDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692717_1
queryAchievementCategoryDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692718_1
queryAchievementCategoryDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692719_1
    }
  
    /*3-10-03查询成果类别详情[9108]   */

      omsAchievementCategory = mOmsAchievementCategoryService.queryAchievementCategoryDetail(queryAchievementCategoryDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      omsAchievementCategory_1 = omsAchievementCategory;
    
QueryAchievementCategoryDetailComRespDto retData = new QueryAchievementCategoryDetailComRespDto();
  if(omsAchievementCategory_1!=null){
      retData.setAchievementCategoryId(omsAchievementCategory_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692734_1
retData.setAchievementTypeId(omsAchievementCategory_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692735_1
retData.setAchievementCategoryNumber(omsAchievementCategory_1.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692736_1
retData.setAchievementCategoryName(omsAchievementCategory_1.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692737_1
retData.setAchievementCategoryDesc(omsAchievementCategory_1.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692738_1
retData.setSubjectLifeCycle(omsAchievementCategory_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692739_1
retData.setOperationInductionId(omsAchievementCategory_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1692740_1
retData.setCreateInductionId(omsAchievementCategory_1.getCreateInductionId());//SimpleFieldAssign//sourceId:1692741_1
retData.setOperateTime(omsAchievementCategory_1.getOperateTime());//SimpleFieldAssign//sourceId:1692742_1
retData.setCreateTime(omsAchievementCategory_1.getCreateTime());//SimpleFieldAssign//sourceId:1692743_1
    }
  

  
  
return retData;
  }
/**
   * D3查询成果等级详情(公共)[9154]
   * gen by moon at 4/3/2024, 6:52:34 PM
   */
  @Trace(operationName = "D3查询成果等级详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailCom(QueryAchievementGradeDetailComReqDto reqDto){
    

      OmsAchievementGrade omsAchievementGrade_1 =null;
//步骤0: 3-10-04查询成果等级详情 - queryAchievementGradeDetail
     OmsAchievementGrade omsAchievementGrade = null;
    QueryAchievementGradeDetailReq queryAchievementGradeDetailReq=new QueryAchievementGradeDetailReq();
  if(reqDto!=null){
      queryAchievementGradeDetailReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692776_1
queryAchievementGradeDetailReq.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692763_1
queryAchievementGradeDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692747_1
queryAchievementGradeDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692748_1
queryAchievementGradeDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692749_1
    }

    /*3-10-04查询成果等级详情[9115]   */

      omsAchievementGrade = mOmsAchievementGradeService.queryAchievementGradeDetail(queryAchievementGradeDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementGrade_1 = omsAchievementGrade;

QueryAchievementGradeDetailComRespDto retData = new QueryAchievementGradeDetailComRespDto();
  if(omsAchievementGrade_1!=null){
      retData.setAchievementGradeId(omsAchievementGrade_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692772_1
retData.setAchievementGradeNumber(omsAchievementGrade_1.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692773_1
retData.setAchievementGradeName(omsAchievementGrade_1.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692774_1
retData.setAchievementGradeDesc(omsAchievementGrade_1.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1692775_1
retData.setSubjectLifeCycle(omsAchievementGrade_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693155_1
retData.setOperationInductionId(omsAchievementGrade_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1693235_1
retData.setOperateTime(omsAchievementGrade_1.getOperateTime());//SimpleFieldAssign//sourceId:1693236_1
    }


  
  
return retData;
  }
/**
   * D3新增成果等级(公共)[9155]
   * gen by moon at 5/9/2024, 2:48:47 PM
   */
  @Trace(operationName = "D3新增成果等级(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementGradeComRespDto addAchievementGradeCom(AddAchievementGradeComReqDto reqDto){
    

      String string_1 =null;
//步骤0: 3-10-04新增成果等级 - addAchievementGrade
     String string = null;
    OmsAchievementGrade omsAchievementGrade=new OmsAchievementGrade();
  if(reqDto!=null){
      omsAchievementGrade.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692797_1
omsAchievementGrade.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692798_1
omsAchievementGrade.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1692799_1
omsAchievementGrade.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785674_1
omsAchievementGrade.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692801_1
omsAchievementGrade.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692802_1
omsAchievementGrade.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1692803_1
    }

    /*3-10-04新增成果等级[9110]   */
    Assert.isNull(omsAchievementGrade.getAchievementGradeNumber(),"D3新增成果等级(公共)-3-10-04新增成果等级-成果等级编号不能为空",false);
Assert.isNull(omsAchievementGrade.getAchievementGradeName(),"D3新增成果等级(公共)-3-10-04新增成果等级-成果等级名称不能为空",false);
Assert.isNull(omsAchievementGrade.getSubjectLifeCycle(),"D3新增成果等级(公共)-3-10-04新增成果等级-主体生命周期不能为空",false);
Assert.isNull(omsAchievementGrade.getSpaceId(),"D3新增成果等级(公共)-3-10-04新增成果等级-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementGrade.getAppId(),"D3新增成果等级(公共)-3-10-04新增成果等级-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementGradeService.addAchievementGrade(omsAchievementGrade)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;

AddAchievementGradeComRespDto retData = new AddAchievementGradeComRespDto();
  if(string_1!=null){
      retData.setAchievementGradeId(string_1);//SimpleFieldAssign//sourceId:1692813_1
    }


  
  
return retData;
  }
/**
   * D3查询成果类型等级关系列表(公共)[9156]
   * gen by moon at 4/3/2024, 6:52:06 PM
   */
  @Trace(operationName = "D3查询成果类型等级关系列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTypeGradeRelationshipListComRespDto queryAchievementTypeGradeRelationshipListCom(QueryAchievementTypeGradeRelationshipListComReqDto reqDto){
    
      
      List<OmsAchievementTypeGradeRelationship> listOmsAchievementTypeGradeRelationship_1 =new ArrayList<>();
//步骤0: 3-10-05查询成果类型等级关系列表 - queryAchievementTypeGradeRelationshipList
     List<OmsAchievementTypeGradeRelationship> listOmsAchievementTypeGradeRelationship =new ArrayList<>();
    QueryAchievementTypeGradeRelationshipListReq queryAchievementTypeGradeRelationshipListReq=new QueryAchievementTypeGradeRelationshipListReq();
  if(reqDto!=null){
      queryAchievementTypeGradeRelationshipListReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692815_1
queryAchievementTypeGradeRelationshipListReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693222_1
queryAchievementTypeGradeRelationshipListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692816_1
queryAchievementTypeGradeRelationshipListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692817_1
queryAchievementTypeGradeRelationshipListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692818_1
    }
  
    /*3-10-05查询成果类型等级关系列表[9118]   */
    Assert.isNull(queryAchievementTypeGradeRelationshipListReq.getSpaceId(),"D3查询成果类型等级关系列表(公共)-3-10-05查询成果类型等级关系列表-创建于空间ID不能为空",false);
      listOmsAchievementTypeGradeRelationship = mOmsAchievementTypeGradeRelationshipService.queryAchievementTypeGradeRelationshipList(queryAchievementTypeGradeRelationshipListReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      listOmsAchievementTypeGradeRelationship_1 = listOmsAchievementTypeGradeRelationship;
    
QueryAchievementTypeGradeRelationshipListComRespDto retData = new QueryAchievementTypeGradeRelationshipListComRespDto();
  retData.setAchievementTypeGradeRelationshipList(listOmsAchievementTypeGradeRelationship_1.stream().map(item -> BeanUtil.toBean(item, AchievementTypeGradeRelationshipDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1692831_1
  

  
  
return retData;
  }
/**
   * D3新增成果等级[9157]
   * gen by moon at 4/3/2024, 2:20:22 PM
   */
  @Trace(operationName = "D3新增成果等级")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementGradeRespDto addAchievementGrade(AddAchievementGradeReqDto reqDto){
    
      
      AddAchievementGradeComRespDto addAchievementGradeComRespDto_1 =null;
AddAchievementTypeGradeRelationshipComRespDto addAchievementTypeGradeRelationshipComRespDto_1 = null;
//virtualUsage D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）  65908
      QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
    QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto.setIsArchive("FALSE");//sourceId:1692833_1_65908
queryAchievementGradeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692835_1_65908
  
    /*D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeNumber(),"D3新增成果等级-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-成果等级编号不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getIsArchive(),"D3新增成果等级-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-是否存档不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(),"D3新增成果等级-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
if((queryAchievementGradeDetailComRespDto!= null&& queryAchievementGradeDetailComRespDto.getAchievementGradeId() == null )) {
        //if(D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）.成果等级ID 值等于空 )  65909
        
QueryAchievementTypeGradeRelationshipListComRespDto queryAchievementTypeGradeRelationshipListComRespDto = null;
    QueryAchievementTypeGradeRelationshipListComReqDto queryAchievementTypeGradeRelationshipListComReqDto=new QueryAchievementTypeGradeRelationshipListComReqDto();
  queryAchievementTypeGradeRelationshipListComReqDto.setIsArchive("FALSE");//sourceId:1692842_1_65910
queryAchievementTypeGradeRelationshipListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692844_1_65910
if(reqDto!=null){
      queryAchievementTypeGradeRelationshipListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692841_1_65910
    }
  
    /*D3查成果类型等级关系列表(用于计算成果等级排序值)[9156]   */
    Assert.isNull(queryAchievementTypeGradeRelationshipListComReqDto.getAchievementTypeId(),"D3新增成果等级-D3查成果类型等级关系列表(用于计算成果等级排序值)-成果类型ID不能为空",false);
Assert.isNull(queryAchievementTypeGradeRelationshipListComReqDto.getIsArchive(),"D3新增成果等级-D3查成果类型等级关系列表(用于计算成果等级排序值)-是否存档不能为空",false);
Assert.isNull(queryAchievementTypeGradeRelationshipListComReqDto.getSpaceId(),"D3新增成果等级-D3查成果类型等级关系列表(用于计算成果等级排序值)-创建于空间ID不能为空",false);
      queryAchievementTypeGradeRelationshipListComRespDto = queryAchievementTypeGradeRelationshipListCom(queryAchievementTypeGradeRelationshipListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
ImplementCalculateSortValueComRespDto implementCalculateSortValueComRespDto = null;
    if(queryAchievementTypeGradeRelationshipListComRespDto !=null){
          ImplementCalculateSortValueComReqDto implementCalculateSortValueComReqDto=new ImplementCalculateSortValueComReqDto();
  if(queryAchievementTypeGradeRelationshipListComRespDto!= null&&  queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList() !=null&& !CollectionUtil.isEmpty(queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList())){
      implementCalculateSortValueComReqDto.setContentAmountList(queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList().stream().map(item->item.getTypeGradeRelationshipId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1692886_1_65911
    }
  
    /*D3计算成果等级排序值(公共)[5588]   */
    
      implementCalculateSortValueComRespDto = targetContentService.implementCalculateSortValueCom(implementCalculateSortValueComReqDto)/*vcase invoke isSameApp*/;
      
      
      
           }
AddAchievementGradeComRespDto addAchievementGradeComRespDto = null;
    if(implementCalculateSortValueComRespDto !=null){
          AddAchievementGradeComReqDto addAchievementGradeComReqDto=new AddAchievementGradeComReqDto();
  addAchievementGradeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692851_1_65912
addAchievementGradeComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692852_1_65912
if(reqDto!=null){
      addAchievementGradeComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692846_1_65912
addAchievementGradeComReqDto.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692847_1_65912
addAchievementGradeComReqDto.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1692848_1_65912
addAchievementGradeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692850_1_65912
    }
//if(implementCalculateSortValueComRespDto!=null){
//      addAchievementGradeComReqDto.setOrderNumber(implementCalculateSortValueComRespDto.getOrderNumber());//SimpleFieldAssign//sourceId:1692849_1_65912
//    }
  
    /*D3新增成果等级(公共)[9155]   */
    Assert.isNull(addAchievementGradeComReqDto.getAchievementGradeNumber(),"D3新增成果等级-D3新增成果等级(公共)-成果等级编号不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getAchievementGradeName(),"D3新增成果等级-D3新增成果等级(公共)-成果等级名称不能为空",false);
//Assert.isNull(addAchievementGradeComReqDto.getOrderNumber(),"D3新增成果等级-D3新增成果等级(公共)-排序不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getSubjectLifeCycle(),"D3新增成果等级-D3新增成果等级(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getSpaceId(),"D3新增成果等级-D3新增成果等级(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getAppId(),"D3新增成果等级-D3新增成果等级(公共)-创建于联盟应用ID不能为空",false);
      addAchievementGradeComRespDto = addAchievementGradeCom(addAchievementGradeComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      addAchievementGradeComRespDto_1 = addAchievementGradeComRespDto;
           }
AddAchievementTypeGradeRelationshipComRespDto addAchievementTypeGradeRelationshipComRespDto = null;
    if(addAchievementGradeComRespDto !=null){
          AddAchievementTypeGradeRelationshipComReqDto addAchievementTypeGradeRelationshipComReqDto=new AddAchievementTypeGradeRelationshipComReqDto();
  addAchievementTypeGradeRelationshipComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692906_1_65913
addAchievementTypeGradeRelationshipComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692907_1_65913
if(addAchievementGradeComRespDto!=null){
      addAchievementTypeGradeRelationshipComReqDto.setAchievementGradeId(addAchievementGradeComRespDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692903_1_65913
    }
if(reqDto!=null){
      addAchievementTypeGradeRelationshipComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692904_1_65913
addAchievementTypeGradeRelationshipComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692905_1_65913
    }
  
    /*D3新增成果类型等级关系(公共)[9160]   */
    Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAchievementGradeId(),"D3新增成果等级-D3新增成果类型等级关系(公共)-成果等级ID不能为空",false);
Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAchievementTypeId(),"D3新增成果等级-D3新增成果类型等级关系(公共)-成果类型ID不能为空",false);
Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getSubjectLifeCycle(),"D3新增成果等级-D3新增成果类型等级关系(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getSpaceId(),"D3新增成果等级-D3新增成果类型等级关系(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementTypeGradeRelationshipComReqDto.getAppId(),"D3新增成果等级-D3新增成果类型等级关系(公共)-创建于联盟应用ID不能为空",false);
      addAchievementTypeGradeRelationshipComRespDto = addAchievementTypeGradeRelationshipCom(addAchievementTypeGradeRelationshipComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      addAchievementTypeGradeRelationshipComRespDto_1 = addAchievementTypeGradeRelationshipComRespDto;
           }
      }
else if((queryAchievementGradeDetailComRespDto!= null&& queryAchievementGradeDetailComRespDto.getAchievementGradeId() != null )){
       //elseif(D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）.成果等级ID 值不等于空 )  65914
      
//异常结束 65915
      throw new BizException("3340000362","对不起，成果等级编号已存在，请检查后再试~",false);
    }
AddAchievementGradeRespDto retData = new AddAchievementGradeRespDto();
  if(addAchievementGradeComRespDto_1!=null){
      retData.setAchievementGradeId(addAchievementGradeComRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692923_1
    }
if(addAchievementTypeGradeRelationshipComRespDto_1!=null){
      retData.setTypeGradeRelationshipId(addAchievementTypeGradeRelationshipComRespDto_1.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1692924_1
    }
  

  
  
return retData;
  }
/**
   * D3新增成果类型等级关系(公共)[9160]
   * gen by moon at 4/3/2024, 2:20:24 PM
   */
  @Trace(operationName = "D3新增成果类型等级关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTypeGradeRelationshipComRespDto addAchievementTypeGradeRelationshipCom(AddAchievementTypeGradeRelationshipComReqDto reqDto){
    
      
      String string_1 =null;
//步骤0: 3-10-05新增成果类型等级关系 - addAchievementTypeGradeRelationship
     String string = null;
    OmsAchievementTypeGradeRelationship omsAchievementTypeGradeRelationship=new OmsAchievementTypeGradeRelationship();
  if(reqDto!=null){
      omsAchievementTypeGradeRelationship.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692891_1
omsAchievementTypeGradeRelationship.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692892_1
omsAchievementTypeGradeRelationship.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692893_1
omsAchievementTypeGradeRelationship.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692894_1
omsAchievementTypeGradeRelationship.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1692895_1
    }
  
    /*3-10-05新增成果类型等级关系[9116]   */
    Assert.isNull(omsAchievementTypeGradeRelationship.getAchievementGradeId(),"D3新增成果类型等级关系(公共)-3-10-05新增成果类型等级关系-成果等级ID不能为空",false);
Assert.isNull(omsAchievementTypeGradeRelationship.getAchievementTypeId(),"D3新增成果类型等级关系(公共)-3-10-05新增成果类型等级关系-成果类型ID不能为空",false);
Assert.isNull(omsAchievementTypeGradeRelationship.getSubjectLifeCycle(),"D3新增成果类型等级关系(公共)-3-10-05新增成果类型等级关系-主体生命周期不能为空",false);
Assert.isNull(omsAchievementTypeGradeRelationship.getSpaceId(),"D3新增成果类型等级关系(公共)-3-10-05新增成果类型等级关系-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementTypeGradeRelationship.getAppId(),"D3新增成果类型等级关系(公共)-3-10-05新增成果类型等级关系-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementTypeGradeRelationshipService.addAchievementTypeGradeRelationship(omsAchievementTypeGradeRelationship)/*vcase invoke 本地 method 方法调用;*/;
      
      
      string_1 = string;
    
AddAchievementTypeGradeRelationshipComRespDto retData = new AddAchievementTypeGradeRelationshipComRespDto();
  if(string_1!=null){
      retData.setTypeGradeRelationshipId(string_1);//SimpleFieldAssign//sourceId:1692902_1
    }
  

  
  
return retData;
  }
/**
   * D3修改成果类别(公共)[9161]
   * gen by moon at 4/3/2024, 2:20:27 PM
   */
  @Trace(operationName = "D3修改成果类别(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementCategoryComRespDto updateAchievementCategoryCom(UpdateAchievementCategoryComReqDto reqDto){
    
      
      //步骤0: 3-10-03修改成果类别 - updateAchievementCategory
     boolean bOOLEAN ;
    OmsAchievementCategory omsAchievementCategory=new OmsAchievementCategory();
  if(reqDto!=null){
      omsAchievementCategory.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692909_1
omsAchievementCategory.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692910_1
omsAchievementCategory.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692911_1
omsAchievementCategory.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692912_1
omsAchievementCategory.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692913_1
omsAchievementCategory.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692914_1
omsAchievementCategory.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692915_1
    }
  
    /*3-10-03修改成果类别[9105]   */
    Assert.isNull(omsAchievementCategory.getAchievementCategoryId(),"D3修改成果类别(公共)-3-10-03修改成果类别-成果类别ID不能为空",false);
      bOOLEAN = mOmsAchievementCategoryService.updateAchievementCategory(omsAchievementCategory)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
    
UpdateAchievementCategoryComRespDto retData = new UpdateAchievementCategoryComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3查询成果类型列表(公共)[9163]
   * gen by moon at 4/3/2024, 2:20:30 PM
   */
  @Trace(operationName = "D3查询成果类型列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTypeListComRespDto queryAchievementTypeListCom(QueryAchievementTypeListComReqDto reqDto){
    
      
      List<OmsAchievementType> listOmsAchievementType_1 =new ArrayList<>();
//步骤0: 3-10-02查询成果类型列表 - queryAchievementTypeList
     List<OmsAchievementType> listOmsAchievementType =new ArrayList<>();
    QueryAchievementTypeListReq queryAchievementTypeListReq=new QueryAchievementTypeListReq();
  if(reqDto!=null){
      queryAchievementTypeListReq.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692945_1
queryAchievementTypeListReq.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692939_1
queryAchievementTypeListReq.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692940_1
queryAchievementTypeListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692941_1
queryAchievementTypeListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692942_1
queryAchievementTypeListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692943_1
    }
  
    /*3-10-02查询成果类型列表[9101]   */
    
      listOmsAchievementType = mOmsAchievementTypeService.queryAchievementTypeList(queryAchievementTypeListReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      listOmsAchievementType_1 = listOmsAchievementType;
    
QueryAchievementTypeListComRespDto retData = new QueryAchievementTypeListComRespDto();
  retData.setAchievementTypeList(listOmsAchievementType_1.stream().map(item -> BeanUtil.toBean(item, AchievementTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1692985_1
  

  
  
return retData;
  }
/**
   * D3修改成果类别业务处理(公共)[9164]
   * gen by moon at 4/3/2024, 2:20:33 PM
   */
  @Trace(operationName = "D3修改成果类别业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementCategoryBusinessHandleComRespDto updateAchievementCategoryBusinessHandleCom(UpdateAchievementCategoryBusinessHandleComReqDto reqDto){
    
      
      //virtualUsage D3查询成果类别详情-用于判断修改的成果类别编号是否唯一  65916
      QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto = null;
    QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto=new QueryAchievementCategoryDetailComReqDto();
  queryAchievementCategoryDetailComReqDto.setIsArchive("FALSE");//sourceId:1692947_1_65916
if(reqDto!=null){
      queryAchievementCategoryDetailComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693013_1_65916
queryAchievementCategoryDetailComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693044_1_65916
queryAchievementCategoryDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692949_1_65916
    }
  
    /*D3查询成果类别详情-用于判断修改的成果类别编号是否唯一[9153]   */
    Assert.isNull(queryAchievementCategoryDetailComReqDto.getAchievementCategoryNumber(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-成果类别编号不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getIsArchive(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getSpaceId(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementCategoryDetailComRespDto = queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
if((queryAchievementCategoryDetailComRespDto!= null&& queryAchievementCategoryDetailComRespDto.getAchievementCategoryId() == null )) {
        //if(D3查询成果类别详情-用于成果类别编号是否修改.成果类别ID 值等于空 )  65917
        
QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto_2 = null;
    QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto_1=new QueryAchievementCategoryDetailComReqDto();
  queryAchievementCategoryDetailComReqDto_1.setIsArchive("FALSE");//sourceId:1692947_1_65918
if(reqDto!=null){
      queryAchievementCategoryDetailComReqDto_1.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693044_1_65918
queryAchievementCategoryDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692949_1_65918
    }
  
    /*D3查询成果类别详情-用于判断修改的成果类别编号是否唯一[9153]   */
    Assert.isNull(queryAchievementCategoryDetailComReqDto_1.getAchievementCategoryNumber(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-成果类别编号不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto_1.getIsArchive(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto_1.getSpaceId(),"D3修改成果类别业务处理(公共)-D3查询成果类别详情-用于判断修改的成果类别编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementCategoryDetailComRespDto_2 = queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;
      
      
      
if((queryAchievementCategoryDetailComRespDto_2!= null&& queryAchievementCategoryDetailComRespDto_2.getAchievementCategoryId() != null )) {
        //if(D3查询成果类别详情-用于判断修改的成果类别编号是否唯一.成果类别ID 值不等于空 )  65919
        
//异常结束 65920
      throw new BizException("3340000361","对不起，成果类别编号已存在，请检查后再试~",false);
      }
      }
//virtualUsage D3修改成果类别(公共)  65921
      UpdateAchievementCategoryComRespDto updateAchievementCategoryComRespDto = null;
    UpdateAchievementCategoryComReqDto updateAchievementCategoryComReqDto=new UpdateAchievementCategoryComReqDto();
  if(reqDto!=null){
      updateAchievementCategoryComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1692968_1_65921
updateAchievementCategoryComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692969_1_65921
updateAchievementCategoryComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1692970_1_65921
updateAchievementCategoryComReqDto.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1692971_1_65921
updateAchievementCategoryComReqDto.setAchievementCategoryDesc(reqDto.getAchievementCategoryDesc());//SimpleFieldAssign//sourceId:1692972_1_65921
updateAchievementCategoryComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692974_1_65921
    }
  
    /*D3修改成果类别(公共)[9161]   */
    Assert.isNull(updateAchievementCategoryComReqDto.getAchievementCategoryId(),"D3修改成果类别业务处理(公共)-D3修改成果类别(公共)-成果类别ID不能为空",false);
      updateAchievementCategoryComRespDto = updateAchievementCategoryCom(updateAchievementCategoryComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
UpdateAchievementCategoryBusinessHandleComRespDto retData = new UpdateAchievementCategoryBusinessHandleComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3查询成果类型等级关系列表[9165]
   * gen by moon at 4/4/2024, 1:32:18 PM
   */
  @Trace(operationName = "D3查询成果类型等级关系列表")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTypeGradeRelationshipListRespDto queryAchievementTypeGradeRelationshipList(QueryAchievementTypeGradeRelationshipListReqDto reqDto){
    
      
      QueryAchievementTypeGradeRelationshipListComRespDto queryAchievementTypeGradeRelationshipListComRespDto_1 =null;
BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto_1 =null;
//步骤0: M3执行接收成果库字段（特殊方法） - implementReceiveAchievementField
     //ModelCode: receptionService
        ImplementReceiveAchievementFieldRespDto receptionServiceRes = null;
    ImplementReceiveAchievementFieldReqDto receptionServiceReq=new ImplementReceiveAchievementFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692980_1
receptionServiceReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695864_1
receptionServiceReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692987_1
    }
  
    /*M3接收入参字段[9159]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getAchievementTypeId(),"D3查询成果类型等级关系列表-M3接收入参字段-成果类型ID不能为空",false);
      receptionServiceRes = nbAchievement.implementReceiveAchievementField(receptionServiceReq);
      
      
      
    
//步骤1: D3查询成果类型等级关系列表(公共) - queryAchievementTypeGradeRelationshipListCom
     QueryAchievementTypeGradeRelationshipListComRespDto queryAchievementTypeGradeRelationshipListComRespDto = null;
    QueryAchievementTypeGradeRelationshipListComReqDto queryAchievementTypeGradeRelationshipListComReqDto=new QueryAchievementTypeGradeRelationshipListComReqDto();
  queryAchievementTypeGradeRelationshipListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692978_1
if(reqDto!=null){
      queryAchievementTypeGradeRelationshipListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692975_1
queryAchievementTypeGradeRelationshipListComReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692976_1
queryAchievementTypeGradeRelationshipListComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695863_1
    }
  
    /*D3查询成果类型等级关系列表(公共)[9156]   */
    Assert.isNull(queryAchievementTypeGradeRelationshipListComReqDto.getAchievementTypeId(),"D3查询成果类型等级关系列表-D3查询成果类型等级关系列表(公共)-成果类型ID不能为空",false);
Assert.isNull(queryAchievementTypeGradeRelationshipListComReqDto.getSpaceId(),"D3查询成果类型等级关系列表-D3查询成果类型等级关系列表(公共)-创建于空间ID不能为空",false);
      queryAchievementTypeGradeRelationshipListComRespDto = queryAchievementTypeGradeRelationshipListCom(queryAchievementTypeGradeRelationshipListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      queryAchievementTypeGradeRelationshipListComRespDto_1 = queryAchievementTypeGradeRelationshipListComRespDto;
    
//步骤2: D3批量查询成果等级By主键(公共) - batchQueryAchievementGradeByEntityCom
     BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto = null;
    if(queryAchievementTypeGradeRelationshipListComRespDto !=null){
          BatchQueryAchievementGradeByEntityComReqDto batchQueryAchievementGradeByEntityComReqDto=new BatchQueryAchievementGradeByEntityComReqDto();
  batchQueryAchievementGradeByEntityComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693039_1
if(queryAchievementTypeGradeRelationshipListComRespDto!= null&&  queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList() !=null&& !CollectionUtil.isEmpty(queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList())){
      batchQueryAchievementGradeByEntityComReqDto.setAchievementGradeList(queryAchievementTypeGradeRelationshipListComRespDto.getAchievementTypeGradeRelationshipList().stream().map(item->item.getAchievementGradeId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1693036_1
    }
if(reqDto!=null){
      batchQueryAchievementGradeByEntityComReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693037_1
    }
  
    /*D3批量查询成果等级By主键(公共)[9168]   */
//    Assert.isNull(batchQueryAchievementGradeByEntityComReqDto.getIsArchive(),"D3查询成果类型等级关系列表-D3批量查询成果等级By主键(公共)-是否存档不能为空",false);
Assert.isNull(batchQueryAchievementGradeByEntityComReqDto.getSpaceId(),"D3查询成果类型等级关系列表-D3批量查询成果等级By主键(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementGradeByEntityComRespDto = batchQueryAchievementGradeByEntityCom(batchQueryAchievementGradeByEntityComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      batchQueryAchievementGradeByEntityComRespDto_1 = batchQueryAchievementGradeByEntityComRespDto;
           }
    
QueryAchievementTypeGradeRelationshipListRespDto retData = new QueryAchievementTypeGradeRelationshipListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryAchievementTypeGradeRelationshipListComRespDto_1!= null && !CollectionUtil.isEmpty(queryAchievementTypeGradeRelationshipListComRespDto_1.getAchievementTypeGradeRelationshipList()) ){
          for (AchievementTypeGradeRelationshipDto achievementTypeGradeRelationshipDto : queryAchievementTypeGradeRelationshipListComRespDto_1.getAchievementTypeGradeRelationshipList()) {
              AchievementGradeDto retElm = new AchievementGradeDto();
             if(queryAchievementTypeGradeRelationshipListComRespDto_1!=null){
      retElm.setTypeGradeRelationshipId(achievementTypeGradeRelationshipDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:333012_2
retElm.setAchievementGradeId(achievementTypeGradeRelationshipDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:333013_2
retElm.setOrderNumber(achievementTypeGradeRelationshipDto.getOrderNumber());//SimpleFieldAssign//sourceId:333165_2
retElm.setSubjectLifeCycle(achievementTypeGradeRelationshipDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:333171_2
retElm.setOperationInductionId(achievementTypeGradeRelationshipDto.getOperationInductionId());//SimpleFieldAssign//sourceId:333172_2
retElm.setOperateTime(achievementTypeGradeRelationshipDto.getOperateTime());//SimpleFieldAssign//sourceId:333173_2
    }
              retData.getAchievementGradeList().add(retElm);
               if(batchQueryAchievementGradeByEntityComRespDto_1!= null){
          for (AchievementGradeDto achievementGradeDto : batchQueryAchievementGradeByEntityComRespDto_1.getAchievementGradeList()) {
                if (achievementGradeDto.getAchievementGradeId().equals(achievementTypeGradeRelationshipDto.getAchievementGradeId())) {
                 if(batchQueryAchievementGradeByEntityComRespDto_1!=null){
      retElm.setAchievementGradeNumber(achievementGradeDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:333014_2
retElm.setAchievementGradeName(achievementGradeDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:333015_2
    }
                }
            }
          }
        
          }
        }//sourceId:1693043_1
  

  
  
return retData;
  }
/**
   * D3删除成果类别(公共)[9172]
   * gen by moon at 4/3/2024, 2:20:40 PM
   */
  @Trace(operationName = "D3删除成果类别(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementCategoryComRespDto deleteAchievementCategoryCom(DeleteAchievementCategoryComReqDto reqDto){
    
      
      //步骤0: 3-10-03删除成果类别 - deleteAchievementCategory
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementCategoryId();;//SimpleFieldAssign//sourceId:1693063_1
    }
  
    /*3-10-03删除成果类别[9106]   */
    Assert.isNull(string,"D3删除成果类别(公共)-3-10-03删除成果类别-成果类别ID不能为空",false);
      bOOLEAN = mOmsAchievementCategoryService.deleteAchievementCategory(string)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
    
DeleteAchievementCategoryComRespDto retData = new DeleteAchievementCategoryComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3删除成果类别业务处理(公共)[9173]
   * gen by moon at 4/3/2024, 2:20:45 PM
   */
  @Trace(operationName = "D3删除成果类别业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementCategoryBusinessHandleComRespDto deleteAchievementCategoryBusinessHandleCom(DeleteAchievementCategoryBusinessHandleComReqDto reqDto){
    
      
      //步骤0: D3查询成果类别详情(公共) - queryAchievementCategoryDetailCom
     QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto = null;
    QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto=new QueryAchievementCategoryDetailComReqDto();
  if(reqDto!=null){
      queryAchievementCategoryDetailComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693081_1
queryAchievementCategoryDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693070_1
    }
  
    /*D3查询成果类别详情(公共)[9153]   */
    Assert.isNull(queryAchievementCategoryDetailComReqDto.getAchievementCategoryId(),"D3删除成果类别业务处理(公共)-D3查询成果类别详情(公共)-成果类别ID不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getSpaceId(),"D3删除成果类别业务处理(公共)-D3查询成果类别详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCategoryDetailComRespDto = queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
    
//步骤1: D1执行生命周期判断(公共) - implementLifeCycleJudgmentCom
     ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
    if(queryAchievementCategoryDetailComRespDto !=null){
          ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto=new ImplementLifeCycleJudgmentComReqDto();
  implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1693084_1
if(queryAchievementCategoryDetailComRespDto!=null){
      implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryAchievementCategoryDetailComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693085_1
    }
  
    /*D1执行生命周期判断(公共)[7830]   */
    Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(),"D3删除成果类别业务处理(公共)-D1执行生命周期判断(公共)-主体生命周期不能为空",false);
Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(),"D3删除成果类别业务处理(公共)-D1执行生命周期判断(公共)-生命周期操作类型不能为空",false);
      implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }
    
//步骤2: D3删除成果类别(公共) - deleteAchievementCategoryCom
     DeleteAchievementCategoryComRespDto deleteAchievementCategoryComRespDto = null;
    DeleteAchievementCategoryComReqDto deleteAchievementCategoryComReqDto=new DeleteAchievementCategoryComReqDto();
  if(reqDto!=null){
      deleteAchievementCategoryComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693083_1
    }
  
    /*D3删除成果类别(公共)[9172]   */
    Assert.isNull(deleteAchievementCategoryComReqDto.getAchievementCategoryId(),"D3删除成果类别业务处理(公共)-D3删除成果类别(公共)-成果类别ID不能为空",false);
      deleteAchievementCategoryComRespDto = deleteAchievementCategoryCom(deleteAchievementCategoryComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
    
DeleteAchievementCategoryBusinessHandleComRespDto retData = new DeleteAchievementCategoryBusinessHandleComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3查询成果类别列表(公共)[9175]
   * gen by moon at 4/3/2024, 2:20:48 PM
   */
  @Trace(operationName = "D3查询成果类别列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementCategoryListComRespDto queryAchievementCategoryListCom(QueryAchievementCategoryListComReqDto reqDto){
    
      
      List<OmsAchievementCategory> listOmsAchievementCategory_1 =new ArrayList<>();
//步骤0: 3-10-03查询成果类别列表 - queryAchievementCategoryList
     List<OmsAchievementCategory> listOmsAchievementCategory =new ArrayList<>();
    QueryAchievementCategoryListReq queryAchievementCategoryListReq=new QueryAchievementCategoryListReq();
  if(reqDto!=null){
      queryAchievementCategoryListReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693098_1
queryAchievementCategoryListReq.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1693099_1
queryAchievementCategoryListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693100_1
queryAchievementCategoryListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693101_1
queryAchievementCategoryListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693102_1
    }
  
    /*3-10-03查询成果类别列表[9107]   */
    Assert.isNull(queryAchievementCategoryListReq.getSpaceId(),"D3查询成果类别列表(公共)-3-10-03查询成果类别列表-创建于空间ID不能为空",false);
      listOmsAchievementCategory = mOmsAchievementCategoryService.queryAchievementCategoryList(queryAchievementCategoryListReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      listOmsAchievementCategory_1 = listOmsAchievementCategory;
    
QueryAchievementCategoryListComRespDto retData = new QueryAchievementCategoryListComRespDto();
  retData.setAchievementCategoryList(listOmsAchievementCategory_1.stream().map(item -> BeanUtil.toBean(item, AchievementCategoryDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693110_1
  

  
  
return retData;
  }
/**
   * D3删除成果等级(公共)[9176]
   * gen by moon at 4/3/2024, 2:20:51 PM
   */
  @Trace(operationName = "D3删除成果等级(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementGradeComRespDto deleteAchievementGradeCom(DeleteAchievementGradeComReqDto reqDto){
    
      
      //步骤0: 3-10-04删除成果等级 - deleteAchievementGrade
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementGradeId();;//SimpleFieldAssign//sourceId:1693111_1
    }
  
    /*3-10-04删除成果等级[9112]   */
    Assert.isNull(string,"D3删除成果等级(公共)-3-10-04删除成果等级-成果等级ID不能为空",false);
      bOOLEAN = mOmsAchievementGradeService.deleteAchievementGrade(string)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
    
DeleteAchievementGradeComRespDto retData = new DeleteAchievementGradeComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3新增成果类型业务处理[9149]
   * gen by moon at 5/9/2024, 2:48:44 PM
   */
  @Trace(operationName = "D3新增成果类型业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTypeBusinessHandleRespDto addAchievementTypeBusinessHandle(AddAchievementTypeBusinessHandleReqDto reqDto){


      AddAchievementTypeComRespDto addAchievementTypeComRespDto_1 =null;
//virtualUsage D3查空间下成果类型编号是否重复(用于判断唯一性)  65898
      QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
    QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto.setIsArchive("FALSE");//sourceId:1692673_1_65898
queryAchievementTypeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692675_1_65898
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692671_1_65898
    }

    /*D3查空间下成果类型编号是否重复(用于判断唯一性)[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeNumber(),"D3新增成果类型业务处理-D3查空间下成果类型编号是否重复(用于判断唯一性)-成果类型编号不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getIsArchive(),"D3新增成果类型业务处理-D3查空间下成果类型编号是否重复(用于判断唯一性)-是否存档不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(),"D3新增成果类型业务处理-D3查空间下成果类型编号是否重复(用于判断唯一性)-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTypeDetailComRespDto!= null&& queryAchievementTypeDetailComRespDto.getAchievementTypeId() == null )) {
        //if(D3查空间下成果类型编号是否重复(用于判断唯一性).成果类型ID 值等于空 )  65899

AddAchievementTypeComRespDto addAchievementTypeComRespDto = null;
    AddAchievementTypeComReqDto addAchievementTypeComReqDto=new AddAchievementTypeComReqDto();
  addAchievementTypeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692870_1_65900
addAchievementTypeComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692871_1_65900
if(reqDto!=null){
      addAchievementTypeComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1692624_1_65900
addAchievementTypeComReqDto.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1692625_1_65900
addAchievementTypeComReqDto.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1692628_1_65900
addAchievementTypeComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1692626_1_65900
addAchievementTypeComReqDto.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1692627_1_65900
addAchievementTypeComReqDto.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785568_1_65900
addAchievementTypeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692629_1_65900
    }

    /*D3新增成果类型(公共)[9147]   */
    Assert.isNull(addAchievementTypeComReqDto.getAchievementTypeNumber(),"D3新增成果类型业务处理-D3新增成果类型(公共)-成果类型编号不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getAchievementTypeName(),"D3新增成果类型业务处理-D3新增成果类型(公共)-成果类型名称不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getBelongName(),"D3新增成果类型业务处理-D3新增成果类型(公共)-版权归属别名不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getIsStandard(),"D3新增成果类型业务处理-D3新增成果类型(公共)-是否标准成果类型不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getUnit(),"D3新增成果类型业务处理-D3新增成果类型(公共)-成果单位不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getSubjectLifeCycle(),"D3新增成果类型业务处理-D3新增成果类型(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getSpaceId(),"D3新增成果类型业务处理-D3新增成果类型(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementTypeComReqDto.getAppId(),"D3新增成果类型业务处理-D3新增成果类型(公共)-创建于联盟应用ID不能为空",false);
      addAchievementTypeComRespDto = addAchievementTypeCom(addAchievementTypeComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementTypeComRespDto_1 = addAchievementTypeComRespDto;
      }
else if((queryAchievementTypeDetailComRespDto!= null&& queryAchievementTypeDetailComRespDto.getAchievementTypeId() != null )){
       //elseif(D3查空间下成果类型编号是否重复(用于判断唯一性).成果类型ID 值不等于空 )  65901

//异常结束 65902
      throw new BizException("3340000360","对不起，成果类型编号已存在，请检查后再试~",false);
    }
AddAchievementTypeBusinessHandleRespDto retData = new AddAchievementTypeBusinessHandleRespDto();
  if(addAchievementTypeComRespDto_1!=null){
      retData.setAchievementTypeId(addAchievementTypeComRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1692713_1
    }




return retData;
  }
/**
   * D3新增成果等级业务处理[9157]
   * gen by moon at 5/9/2024, 2:48:51 PM
   */
  @Trace(operationName = "D3新增成果等级业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementGradeBusinessHandleRespDto addAchievementGradeBusinessHandle(AddAchievementGradeBusinessHandleReqDto reqDto){


      AddAchievementGradeComRespDto addAchievementGradeComRespDto_1 =null;
//virtualUsage D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）  65908
      QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
    QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto.setIsArchive("FALSE");//sourceId:1692833_1_65908
queryAchievementGradeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692835_1_65908
if(reqDto!=null){
      queryAchievementGradeDetailComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692832_1_65908
    }

    /*D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeNumber(),"D3新增成果等级业务处理-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-成果等级编号不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getIsArchive(),"D3新增成果等级业务处理-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-是否存档不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(),"D3新增成果等级业务处理-D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementGradeDetailComRespDto!= null&& queryAchievementGradeDetailComRespDto.getAchievementGradeId() == null )) {
        //if(D3查等级编码空间下成果等级（用于校验成果等级编号唯一性）.成果等级ID 值等于空 )  65909

AddAchievementGradeComRespDto addAchievementGradeComRespDto = null;
    AddAchievementGradeComReqDto addAchievementGradeComReqDto=new AddAchievementGradeComReqDto();
  addAchievementGradeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1692851_1_65912
addAchievementGradeComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1692852_1_65912
if(reqDto!=null){
      addAchievementGradeComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692846_1_65912
addAchievementGradeComReqDto.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692847_1_65912
addAchievementGradeComReqDto.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1692848_1_65912
addAchievementGradeComReqDto.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785676_1_65912
addAchievementGradeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692850_1_65912
    }

    /*D3新增成果等级(公共)[9155]   */
    Assert.isNull(addAchievementGradeComReqDto.getAchievementGradeNumber(),"D3新增成果等级业务处理-D3新增成果等级(公共)-成果等级编号不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getAchievementGradeName(),"D3新增成果等级业务处理-D3新增成果等级(公共)-成果等级名称不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getSubjectLifeCycle(),"D3新增成果等级业务处理-D3新增成果等级(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getSpaceId(),"D3新增成果等级业务处理-D3新增成果等级(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementGradeComReqDto.getAppId(),"D3新增成果等级业务处理-D3新增成果等级(公共)-创建于联盟应用ID不能为空",false);
      addAchievementGradeComRespDto = addAchievementGradeCom(addAchievementGradeComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementGradeComRespDto_1 = addAchievementGradeComRespDto;
      }
AddAchievementGradeBusinessHandleRespDto retData = new AddAchievementGradeBusinessHandleRespDto();
  if(addAchievementGradeComRespDto_1!=null){
      retData.setAchievementGradeId(addAchievementGradeComRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692923_1
    }




return retData;
  }
/**
   * D3删除成果等级业务处理[9179]
   * gen by moon at 4/3/2024, 6:53:11 PM
   */
  @Trace(operationName = "D3删除成果等级业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementGradeBusinessHandleRespDto deleteAchievementGradeBusinessHandle(DeleteAchievementGradeBusinessHandleReqDto reqDto){


      //virtualUsage D3查询成果等级详情(公共)  65922
      QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
    QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693135_1_65922
if(reqDto!=null){
      queryAchievementGradeDetailComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693140_1_65922
    }

    /*D3查询成果等级详情(公共)[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeId(),"D3删除成果等级业务处理-D3查询成果等级详情(公共)-成果等级ID不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(),"D3删除成果等级业务处理-D3查询成果等级详情(公共)-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D1执行生命周期判断(公共)  65933
      ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
    if(queryAchievementGradeDetailComRespDto !=null){
          ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto=new ImplementLifeCycleJudgmentComReqDto();
  implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1693129_1_65933
if(queryAchievementGradeDetailComRespDto!=null){
      implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryAchievementGradeDetailComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693130_1_65933
    }

    /*D1执行生命周期判断(公共)[7830]   */
    Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(),"D3删除成果等级业务处理-D1执行生命周期判断(公共)-主体生命周期不能为空",false);
Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(),"D3删除成果等级业务处理-D1执行生命周期判断(公共)-生命周期操作类型不能为空",false);
      implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//virtualUsage D3删除成果等级(公共)  65956
      DeleteAchievementGradeComRespDto deleteAchievementGradeComRespDto = null;
    DeleteAchievementGradeComReqDto deleteAchievementGradeComReqDto=new DeleteAchievementGradeComReqDto();
  if(reqDto!=null){
      deleteAchievementGradeComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693141_1_65956
    }

    /*D3删除成果等级(公共)[9176]   */
    Assert.isNull(deleteAchievementGradeComReqDto.getAchievementGradeId(),"D3删除成果等级业务处理-D3删除成果等级(公共)-成果等级ID不能为空",false);
      deleteAchievementGradeComRespDto = deleteAchievementGradeCom(deleteAchievementGradeComReqDto)/*vcase invoke 同服务,同domain*/;



DeleteAchievementGradeBusinessHandleRespDto retData = new DeleteAchievementGradeBusinessHandleRespDto();





return retData;
  }
/**
   * D3删除成果类型(公共)[9186]
   * gen by moon at 4/3/2024, 6:53:24 PM
   */
  @Trace(operationName = "D3删除成果类型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTypeComRespDto deleteAchievementTypeCom(DeleteAchievementTypeComReqDto reqDto){


      //步骤0: 3-10-02删除成果类型 - deleteAchievementType
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementTypeId();;//SimpleFieldAssign//sourceId:1693295_1
    }

    /*3-10-02删除成果类型[9100]   */
    Assert.isNull(string,"D3删除成果类型(公共)-3-10-02删除成果类型-成果类型ID不能为空",false);
      bOOLEAN = mOmsAchievementTypeService.deleteAchievementType(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementTypeComRespDto retData = new DeleteAchievementTypeComRespDto();





return retData;
  }
/**
   * D3删除成果类型业务处理[9187]
   * gen by moon at 4/3/2024, 6:53:36 PM
   */
  @Trace(operationName = "D3删除成果类型业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTypeBusinessHandleRespDto deleteAchievementTypeBusinessHandle(DeleteAchievementTypeBusinessHandleReqDto reqDto){


      //virtualUsage D3查询成果类型生命周期状态(用于校验删除条件)  65940
      QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
    QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693311_1_65940
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693306_1_65940
    }

    /*D3查询成果类型生命周期状态(用于校验删除条件)[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeId(),"D3删除成果类型业务处理-D3查询成果类型生命周期状态(用于校验删除条件)-成果类型ID不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(),"D3删除成果类型业务处理-D3查询成果类型生命周期状态(用于校验删除条件)-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D1执行生命周期判断(公共)  65941
      ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
    if(queryAchievementTypeDetailComRespDto !=null){
          ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto=new ImplementLifeCycleJudgmentComReqDto();
  implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1693332_1_65941
if(queryAchievementTypeDetailComRespDto!=null){
      implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryAchievementTypeDetailComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693333_1_65941
    }

    /*D1执行生命周期判断(公共)[7830]   */
    Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(),"D3删除成果类型业务处理-D1执行生命周期判断(公共)-主体生命周期不能为空",false);
Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(),"D3删除成果类型业务处理-D1执行生命周期判断(公共)-生命周期操作类型不能为空",false);
      implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//virtualUsage D3删除成果类型(公共)  65955
      DeleteAchievementTypeComRespDto deleteAchievementTypeComRespDto = null;
    DeleteAchievementTypeComReqDto deleteAchievementTypeComReqDto=new DeleteAchievementTypeComReqDto();
  if(reqDto!=null){
      deleteAchievementTypeComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693297_1_65955
    }

    /*D3删除成果类型(公共)[9186]   */
    Assert.isNull(deleteAchievementTypeComReqDto.getAchievementTypeId(),"D3删除成果类型业务处理-D3删除成果类型(公共)-成果类型ID不能为空",false);
      deleteAchievementTypeComRespDto = deleteAchievementTypeCom(deleteAchievementTypeComReqDto)/*vcase invoke 同服务,同domain*/;



DeleteAchievementTypeBusinessHandleRespDto retData = new DeleteAchievementTypeBusinessHandleRespDto();





return retData;
  }
/**
   * D3修改成果类型等级关系(公共)[9189]
   * gen by moon at 4/3/2024, 6:53:49 PM
   */
  @Trace(operationName = "D3修改成果类型等级关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementTypeGradeRelationshipComRespDto updateAchievementTypeGradeRelationshipCom(UpdateAchievementTypeGradeRelationshipComReqDto reqDto){


      //步骤0: 3-10-05修改成果类型等级关系 - updateAchievementTypeGradeRelationship
     boolean bOOLEAN ;
    OmsAchievementTypeGradeRelationship omsAchievementTypeGradeRelationship=new OmsAchievementTypeGradeRelationship();
  if(reqDto!=null){
      omsAchievementTypeGradeRelationship.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693365_1
omsAchievementTypeGradeRelationship.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693366_1
omsAchievementTypeGradeRelationship.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693367_1
omsAchievementTypeGradeRelationship.setOperationInductionId(reqDto.getOperationInductionId());//SimpleFieldAssign//sourceId:1693368_1
omsAchievementTypeGradeRelationship.setOperateTime(reqDto.getOperateTime());//SimpleFieldAssign//sourceId:1693370_1
    }

    /*3-10-05修改成果类型等级关系[9190]   */
    Assert.isNull(omsAchievementTypeGradeRelationship.getTypeGradeRelationshipId(),"D3修改成果类型等级关系(公共)-3-10-05修改成果类型等级关系-成果类型等级关系ID不能为空",false);
      bOOLEAN = mOmsAchievementTypeGradeRelationshipService.updateAchievementTypeGradeRelationship(omsAchievementTypeGradeRelationship)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementTypeGradeRelationshipComRespDto retData = new UpdateAchievementTypeGradeRelationshipComRespDto();





return retData;
  }
/**
   * D3修改成果类型(公共)[9191]
   * gen by moon at 5/9/2024, 2:48:54 PM
   */
  @Trace(operationName = "D3修改成果类型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementTypeComRespDto updateAchievementTypeCom(UpdateAchievementTypeComReqDto reqDto){


      //步骤0: 3-10-02修改成果类型 - updateAchievementType
     boolean bOOLEAN ;
    OmsAchievementType omsAchievementType=new OmsAchievementType();
  if(reqDto!=null){
      omsAchievementType.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693388_1
omsAchievementType.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693389_1
omsAchievementType.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1693390_1
omsAchievementType.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693391_1
omsAchievementType.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1693392_1
omsAchievementType.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785624_1
omsAchievementType.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1693393_1
omsAchievementType.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693394_1
omsAchievementType.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693395_1
    }

    /*3-10-02修改成果类型[9099]   */
    Assert.isNull(omsAchievementType.getAchievementTypeId(),"D3修改成果类型(公共)-3-10-02修改成果类型-成果类型ID不能为空",false);
      bOOLEAN = mOmsAchievementTypeService.updateAchievementType(omsAchievementType)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementTypeComRespDto retData = new UpdateAchievementTypeComRespDto();





return retData;
  }
/**
   * D3修改成果等级(公共)[9192]
   * gen by moon at 5/9/2024, 2:48:57 PM
   */
  @Trace(operationName = "D3修改成果等级(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementGradeComRespDto updateAchievementGradeCom(UpdateAchievementGradeComReqDto reqDto){


      //步骤0: 3-10-04修改成果等级 - updateAchievementGrade
     boolean bOOLEAN ;
    OmsAchievementGrade omsAchievementGrade=new OmsAchievementGrade();
  if(reqDto!=null){
      omsAchievementGrade.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693481_1
omsAchievementGrade.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693482_1
omsAchievementGrade.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1693483_1
omsAchievementGrade.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1693484_1
omsAchievementGrade.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785683_1
omsAchievementGrade.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693485_1
omsAchievementGrade.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693486_1
    }

    /*3-10-04修改成果等级[9111]   */
    Assert.isNull(omsAchievementGrade.getAchievementGradeId(),"D3修改成果等级(公共)-3-10-04修改成果等级-成果等级ID不能为空",false);
      bOOLEAN = mOmsAchievementGradeService.updateAchievementGrade(omsAchievementGrade)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementGradeComRespDto retData = new UpdateAchievementGradeComRespDto();





return retData;
  }
/**
   * D3修改成果类型业务处理(公共)[9194]
   * gen by moon at 5/9/2024, 2:49:00 PM
   */
  @Trace(operationName = "D3修改成果类型业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementTypeBusinessHandleComRespDto updateAchievementTypeBusinessHandleCom(UpdateAchievementTypeBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询成果类型详情-用于判断修改的成果类型编号是否唯一  65957
      QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
    QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto.setIsArchive("FALSE");//sourceId:1693415_1_65957
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693412_1_65957
queryAchievementTypeDetailComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693413_1_65957
queryAchievementTypeDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693417_1_65957
    }

    /*D3查询成果类型详情-用于判断修改的成果类型编号是否唯一[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeNumber(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-成果类型编号不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getIsArchive(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTypeDetailComRespDto!= null&& queryAchievementTypeDetailComRespDto.getAchievementTypeId() == null )) {
        //if(D3查询成果类型详情-用于判断成果类型编号是否修改.成果类型ID 值等于空 )  65958

QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto_2 = null;
    QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto_1=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto_1.setIsArchive("FALSE");//sourceId:1693415_1_65959
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto_1.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693413_1_65959
queryAchievementTypeDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693417_1_65959
    }

    /*D3查询成果类型详情-用于判断修改的成果类型编号是否唯一[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto_1.getAchievementTypeNumber(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-成果类型编号不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto_1.getIsArchive(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto_1.getSpaceId(),"D3修改成果类型业务处理(公共)-D3查询成果类型详情-用于判断修改的成果类型编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto_2 = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTypeDetailComRespDto_2!= null&& queryAchievementTypeDetailComRespDto_2.getAchievementTypeId() != null )) {
        //if(D3查询成果类型详情-用于判断修改的成果类型编号是否唯一.成果类型ID 值不等于空 )  65960

//异常结束 65961
      throw new BizException("3340000360","对不起，成果类型编号已存在，请检查后再试~",false);
      }
      }
//virtualUsage D3修改成果类型(公共)  65962
      UpdateAchievementTypeComRespDto updateAchievementTypeComRespDto = null;
    UpdateAchievementTypeComReqDto updateAchievementTypeComReqDto=new UpdateAchievementTypeComReqDto();
  if(reqDto!=null){
      updateAchievementTypeComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693427_1_65962
updateAchievementTypeComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693428_1_65962
updateAchievementTypeComReqDto.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1693429_1_65962
updateAchievementTypeComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693430_1_65962
updateAchievementTypeComReqDto.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1693431_1_65962
updateAchievementTypeComReqDto.setUnit(reqDto.getUnit());//SimpleFieldAssign//sourceId:1785626_1_65962
updateAchievementTypeComReqDto.setBelongName(reqDto.getBelongName());//SimpleFieldAssign//sourceId:1693432_1_65962
updateAchievementTypeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693434_1_65962
    }

    /*D3修改成果类型(公共)[9191]   */
    Assert.isNull(updateAchievementTypeComReqDto.getAchievementTypeId(),"D3修改成果类型业务处理(公共)-D3修改成果类型(公共)-成果类型ID不能为空",false);
      updateAchievementTypeComRespDto = updateAchievementTypeCom(updateAchievementTypeComReqDto)/*vcase invoke 同服务,同domain*/;



UpdateAchievementTypeBusinessHandleComRespDto retData = new UpdateAchievementTypeBusinessHandleComRespDto();





return retData;
  }
/**
   * D3修改成果等级业务处理(公共)[9195]
   * gen by moon at 5/9/2024, 2:49:03 PM
   */
  @Trace(operationName = "D3修改成果等级业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementGradeBusinessHandleComRespDto updateAchievementGradeBusinessHandleCom(UpdateAchievementGradeBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询成果等级详情-用于判断修改的成果等级编号是否唯一  65963
      QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
    QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto.setIsArchive("FALSE");//sourceId:1693503_1_65963
if(reqDto!=null){
      queryAchievementGradeDetailComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693510_1_65963
queryAchievementGradeDetailComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693502_1_65963
queryAchievementGradeDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693505_1_65963
    }

    /*D3查询成果等级详情-用于判断修改的成果等级编号是否唯一[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeNumber(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-成果等级编号不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getIsArchive(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementGradeDetailComRespDto!= null&& queryAchievementGradeDetailComRespDto.getAchievementGradeId() == null )) {
        //if(D3查询成果等级详情-用于判断成果等级编号是否修改.成果等级ID 值等于空 )  65966

QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_2 = null;
    QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto_1=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto_1.setIsArchive("FALSE");//sourceId:1693503_1_65967
if(reqDto!=null){
      queryAchievementGradeDetailComReqDto_1.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693502_1_65967
queryAchievementGradeDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693505_1_65967
    }

    /*D3查询成果等级详情-用于判断修改的成果等级编号是否唯一[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto_1.getAchievementGradeNumber(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-成果等级编号不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto_1.getIsArchive(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-是否存档不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto_1.getSpaceId(),"D3修改成果等级业务处理(公共)-D3查询成果等级详情-用于判断修改的成果等级编号是否唯一-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto_2 = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;



if((queryAchievementGradeDetailComRespDto_2!= null&& queryAchievementGradeDetailComRespDto_2.getAchievementGradeId() != null )) {
        //if(D3查询成果等级详情-用于判断修改的成果等级编号是否唯一.成果等级ID 值不等于空 )  65968

//异常结束 65969
      throw new BizException("3340000362","对不起，成果等级编号已存在，请检查后再试~",false);
      }
      }
//virtualUsage D3修改成果等级(公共)  65970
      UpdateAchievementGradeComRespDto updateAchievementGradeComRespDto = null;
    UpdateAchievementGradeComReqDto updateAchievementGradeComReqDto=new UpdateAchievementGradeComReqDto();
  if(reqDto!=null){
      updateAchievementGradeComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693494_1_65970
updateAchievementGradeComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693495_1_65970
updateAchievementGradeComReqDto.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1693496_1_65970
updateAchievementGradeComReqDto.setAchievementGradeDesc(reqDto.getAchievementGradeDesc());//SimpleFieldAssign//sourceId:1693497_1_65970
updateAchievementGradeComReqDto.setAchievementGradeModel(reqDto.getAchievementGradeModel());//SimpleFieldAssign//sourceId:1785685_1_65970
updateAchievementGradeComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693499_1_65970
    }

    /*D3修改成果等级(公共)[9192]   */
    Assert.isNull(updateAchievementGradeComReqDto.getAchievementGradeId(),"D3修改成果等级业务处理(公共)-D3修改成果等级(公共)-成果等级ID不能为空",false);
      updateAchievementGradeComRespDto = updateAchievementGradeCom(updateAchievementGradeComReqDto)/*vcase invoke 同服务,同domain*/;



UpdateAchievementGradeBusinessHandleComRespDto retData = new UpdateAchievementGradeBusinessHandleComRespDto();





return retData;
  }
/**
   * D3批量改成果类型等级关系(公共)[9202]
   * gen by moon at 4/3/2024, 7:19:55 PM
   */
  @Trace(operationName = "D3批量改成果类型等级关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchUpdateAchievementTypeGradeRelationshipComRespDto batchUpdateAchievementTypeGradeRelationshipCom(BatchUpdateAchievementTypeGradeRelationshipComReqDto reqDto){


      //步骤0: 3-10-05批量改成果类型等级关系 - batchUpdateAchievementTypeGradeRelationship
     boolean bOOLEAN ;
    List<OmsAchievementTypeGradeRelationship> listOmsAchievementTypeGradeRelationship=new ArrayList<>();
  if(reqDto!= null&&  reqDto.getAchievementTypeGradeRelationshipList() !=null&& !CollectionUtil.isEmpty(reqDto.getAchievementTypeGradeRelationshipList())){
      listOmsAchievementTypeGradeRelationship = reqDto.getAchievementTypeGradeRelationshipList().stream().map(item -> BeanUtil.toBean(item, OmsAchievementTypeGradeRelationship.class)).collect(Collectors.toList());//objList-to-objLists//sourceId:1693500_1
    }

    /*3-10-05批量改成果类型等级关系[9203]   */

      bOOLEAN = mOmsAchievementTypeGradeRelationshipService.batchUpdateAchievementTypeGradeRelationship(listOmsAchievementTypeGradeRelationship)/*vcase invoke 本地 method 方法调用;*/;




BatchUpdateAchievementTypeGradeRelationshipComRespDto retData = new BatchUpdateAchievementTypeGradeRelationshipComRespDto();





return retData;
  }
/**
   * D3修改成果团队(公共)[9206]
   * gen by moon at 4/3/2024, 7:19:58 PM
   */
  @Trace(operationName = "D3修改成果团队(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementTeamComRespDto updateAchievementTeamCom(UpdateAchievementTeamComReqDto reqDto){


      //步骤0: 3-10-06修改成果团队 - updateAchievementTeam
     boolean bOOLEAN ;
    OmsAchievementTeam omsAchievementTeam=new OmsAchievementTeam();
  if(reqDto!=null){
      omsAchievementTeam.setAchievementTeamId(reqDto.getAchievementTeamId());//SimpleFieldAssign//sourceId:1693588_1
omsAchievementTeam.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1693594_1
omsAchievementTeam.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1693595_1
omsAchievementTeam.setOrderNumber(reqDto.getOrderNumber());//SimpleFieldAssign//sourceId:1693596_1
omsAchievementTeam.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693597_1
omsAchievementTeam.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693598_1
    }

    /*3-10-06修改成果团队[9126]   */
    Assert.isNull(omsAchievementTeam.getAchievementTeamId(),"D3修改成果团队(公共)-3-10-06修改成果团队-成果团队ID不能为空",false);
//      bOOLEAN = mOmsAchievementTeamService.updateAchievementTeam(omsAchievementTeam)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementTeamComRespDto retData = new UpdateAchievementTeamComRespDto();





return retData;
  }
/**
   * D3删除成果团队(公共)[9207]
   * gen by moon at 4/3/2024, 7:19:59 PM
   */
  @Trace(operationName = "D3删除成果团队(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTeamComRespDto deleteAchievementTeamCom(DeleteAchievementTeamComReqDto reqDto){


      //步骤0: 3-10-06删除成果团队 - deleteAchievementTeam
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementTeamId();;//SimpleFieldAssign//sourceId:1693587_1
    }

    /*3-10-06删除成果团队[9128]   */
    Assert.isNull(string,"D3删除成果团队(公共)-3-10-06删除成果团队-成果团队ID不能为空",false);
//      bOOLEAN = mOmsAchievementTeamService.deleteAchievementTeam(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementTeamComRespDto retData = new DeleteAchievementTeamComRespDto();





return retData;
  }
/**
   * D3查询成果团队列表(公共)[9208]
   * gen by moon at 4/3/2024, 7:20:03 PM
   */
  @Trace(operationName = "D3查询成果团队列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTeamListComRespDto queryAchievementTeamListCom(QueryAchievementTeamListComReqDto reqDto){


      List<OmsAchievementTeam> listOmsAchievementTeam_1 =new ArrayList<>();
//步骤0: 3-10-06查询成果团队列表 - queryAchievementTeamList
     List<OmsAchievementTeam> listOmsAchievementTeam =new ArrayList<>();
    QueryAchievementTeamListReq queryAchievementTeamListReq=new QueryAchievementTeamListReq();
  if(reqDto!=null){
      queryAchievementTeamListReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693547_1
queryAchievementTeamListReq.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1693548_1
queryAchievementTeamListReq.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1693549_1
queryAchievementTeamListReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1693550_1
queryAchievementTeamListReq.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1693551_1
queryAchievementTeamListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693552_1
queryAchievementTeamListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693553_1
queryAchievementTeamListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693554_1
    }

    /*3-10-06查询成果团队列表[9127]   */

//      listOmsAchievementTeam = mOmsAchievementTeamService.queryAchievementTeamList(queryAchievementTeamListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementTeam_1 = listOmsAchievementTeam;

QueryAchievementTeamListComRespDto retData = new QueryAchievementTeamListComRespDto();
  retData.setAchievementTeamList(listOmsAchievementTeam_1.stream().map(item -> BeanUtil.toBean(item, AchievementTeamDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693564_1




return retData;
  }
/**
   * D3新增成果团队(公共)[9209]
   * gen by moon at 4/3/2024, 7:20:04 PM
   */
  @Trace(operationName = "D3新增成果团队(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTeamComRespDto addAchievementTeamCom(AddAchievementTeamComReqDto reqDto){


      String string_1 =null;
//步骤0: 3-10-06新增成果团队 - addAchievementTeam
     String string = null;
    OmsAchievementTeam omsAchievementTeam=new OmsAchievementTeam();
  omsAchievementTeam.setOrderNumber(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:1693572_1
omsAchievementTeam.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1693575_1
if(reqDto!=null){
      omsAchievementTeam.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693565_1
omsAchievementTeam.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1693566_1
omsAchievementTeam.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1693567_1
omsAchievementTeam.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1693568_1
omsAchievementTeam.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1693569_1
omsAchievementTeam.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1693570_1
omsAchievementTeam.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1693571_1
omsAchievementTeam.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693573_1
omsAchievementTeam.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693574_1
    }

    /*3-10-06新增成果团队[9125]   */
    Assert.isNull(omsAchievementTeam.getAchievementId(),"D3新增成果团队(公共)-3-10-06新增成果团队-成果ID不能为空",false);
Assert.isNull(omsAchievementTeam.getIsManualCreate(),"D3新增成果团队(公共)-3-10-06新增成果团队-是否人工输入不能为空",false);
Assert.isNull(omsAchievementTeam.getAchievementMemberName(),"D3新增成果团队(公共)-3-10-06新增成果团队-人工输入成员名称不能为空",false);
Assert.isNull(omsAchievementTeam.getAchievementMemberNumber(),"D3新增成果团队(公共)-3-10-06新增成果团队-人工输入成员编号不能为空",false);
Assert.isNull(omsAchievementTeam.getOrderNumber(),"D3新增成果团队(公共)-3-10-06新增成果团队-排序不能为空",false);
Assert.isNull(omsAchievementTeam.getSubjectLifeCycle(),"D3新增成果团队(公共)-3-10-06新增成果团队-主体生命周期不能为空",false);
Assert.isNull(omsAchievementTeam.getSpaceId(),"D3新增成果团队(公共)-3-10-06新增成果团队-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementTeam.getAppId(),"D3新增成果团队(公共)-3-10-06新增成果团队-创建于联盟应用ID不能为空",false);
//      string = mOmsAchievementTeamService.addAchievementTeam(omsAchievementTeam)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;

AddAchievementTeamComRespDto retData = new AddAchievementTeamComRespDto();
  if(string_1!=null){
      retData.setAchievementTeamId(string_1);//SimpleFieldAssign//sourceId:1693586_1
    }




return retData;
  }
/**
   * D3新增成果(公共)[9210]
   * gen by moon at 7/24/2024, 10:04:38 PM
   */
  @Trace(operationName = "D3新增成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementComRespDto addAchievementCom(AddAchievementComReqDto reqDto){


      String string_1 =null;
//virtualUsage 3-10-01新增成果  71948
     String string = null;
    OmsAchievement omsAchievement=new OmsAchievement();
  if(reqDto!=null){
      omsAchievement.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693626_1_71948
omsAchievement.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693606_1_71948
omsAchievement.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693607_1_71948
omsAchievement.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693627_1_71948
omsAchievement.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693608_1_71948
omsAchievement.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693628_1_71948
omsAchievement.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887258_1_71948
omsAchievement.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887259_1_71948
omsAchievement.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693609_1_71948
omsAchievement.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1939179_1_71948
omsAchievement.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693610_1_71948
omsAchievement.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693611_1_71948
omsAchievement.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1937553_1_71948
omsAchievement.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1693612_1_71948
omsAchievement.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693613_1_71948
            omsAchievement.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693613_1_71948
omsAchievement.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693615_1_71948
omsAchievement.setAchievementConversiontDesc(reqDto.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1693616_1_71948
omsAchievement.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1693618_1_71948
omsAchievement.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1693617_1_71948
omsAchievement.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693619_1_71948
omsAchievement.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693620_1_71948
omsAchievement.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693622_1_71948
omsAchievement.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1693623_1_71948
    }

    /*3-10-01新增成果[9119]   */
    Assert.isNull(omsAchievement.getAchievementTypeNumber(),"D3新增成果(公共)-3-10-01新增成果-成果类型编号不能为空",false);
Assert.isNull(omsAchievement.getAchievementTypeId(),"D3新增成果(公共)-3-10-01新增成果-成果类型ID不能为空",false);
Assert.isNull(omsAchievement.getCopyrightObjectTypeCode(),"D3新增成果(公共)-3-10-01新增成果-版权归属对象类型编码不能为空",false);
Assert.isNull(omsAchievement.getAchiveLibraryType(),"D3新增成果(公共)-3-10-01新增成果-成果库类型不能为空",false);
Assert.isNull(omsAchievement.getIsUseConversion(),"D3新增成果(公共)-3-10-01新增成果-是否开启转化成果不能为空",false);
Assert.isNull(omsAchievement.getIsSymbolicAchievements(),"D3新增成果(公共)-3-10-01新增成果-是否标志性成果不能为空",false);
Assert.isNull(omsAchievement.getDutyDeptId(),"D3新增成果(公共)-3-10-01新增成果-业绩责任部门ID不能为空",false);
Assert.isNull(omsAchievement.getAchievementNumber(),"D3新增成果(公共)-3-10-01新增成果-成果编号不能为空",false);
Assert.isNull(omsAchievement.getAchievementName(),"D3新增成果(公共)-3-10-01新增成果-成果名称不能为空",false);
Assert.isNull(omsAchievement.getAwardedTime(),"D3新增成果(公共)-3-10-01新增成果-授予时间不能为空",false);
Assert.isNull(omsAchievement.getSpaceId(),"D3新增成果(公共)-3-10-01新增成果-创建于空间ID不能为空",false);
Assert.isNull(omsAchievement.getAppId(),"D3新增成果(公共)-3-10-01新增成果-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementService.addAchievement(omsAchievement)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;
if((reqDto!= null&& reqDto.getAchievementDesc() != null )) {
        //if(D3新增成果(公共).成果介绍 值不等于空 )  71949

String string_2 = null;
    if(string !=null){
          OmsBizAppHypertextContent omsBizAppHypertextContent=new OmsBizAppHypertextContent();
  omsBizAppHypertextContent.setReleationContTypeCode("ACHIEVEMENT");//sourceId:1953828_1_71950
omsBizAppHypertextContent.setHypertextType("ACHIEVEMENT_DESC");//sourceId:1953832_1_71950
omsBizAppHypertextContent.setThemeContentTypeCode("OMS_ORG_DEPT");//sourceId:1953833_1_71950
if(string!=null){
      omsBizAppHypertextContent.setReleationContId(string);//SimpleFieldAssign//sourceId:1953829_1_71950
    }
if(reqDto!=null){
      omsBizAppHypertextContent.setHypertextContent(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1953830_1_71950
omsBizAppHypertextContent.setThemeContentId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1953834_1_71950
    }

    /*3-5-2新增超文本内容[3136]   */
    Assert.isNull(omsBizAppHypertextContent.getReleationContTypeCode(),"D3新增成果(公共)-3-5-2新增超文本内容-超文本内容关联类型编码不能为空",false);
Assert.isNull(omsBizAppHypertextContent.getReleationContId(),"D3新增成果(公共)-3-5-2新增超文本内容-超文本内容关联主键ID不能为空",false);
Assert.isNull(omsBizAppHypertextContent.getHypertextContent(),"D3新增成果(公共)-3-5-2新增超文本内容-超文本内容不能为空",false);
Assert.isNull(omsBizAppHypertextContent.getHypertextType(),"D3新增成果(公共)-3-5-2新增超文本内容-超文本内容类型不能为空",false);
Assert.isNull(omsBizAppHypertextContent.getThemeContentTypeCode(),"D3新增成果(公共)-3-5-2新增超文本内容-主题内容类型编码不能为空",false);
Assert.isNull(omsBizAppHypertextContent.getThemeContentId(),"D3新增成果(公共)-3-5-2新增超文本内容-主题内容ID不能为空",false);
      string_2 = mOmsBizAppHypertextContentService.addHypertextContent(omsBizAppHypertextContent)/*vcase invoke 本地 method 方法调用;*/;



           }
      }
AddAchievementComRespDto retData = new AddAchievementComRespDto();
  if(string_1!=null){
      retData.setAchievementId(string_1);//SimpleFieldAssign//sourceId:1693650_1
    }




return retData;
  }
/**
   * D3删除成果(公共)[9211]
   * gen by moon at 4/3/2024, 11:18:14 PM
   */
  @Trace(operationName = "D3删除成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementComRespDto deleteAchievementCom(DeleteAchievementComReqDto reqDto){


      //步骤0: 3-10-01删除成果 - deleteAchievement
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementId();;//SimpleFieldAssign//sourceId:1693651_1
    }

    /*3-10-01删除成果[9122]   */
    Assert.isNull(string,"D3删除成果(公共)-3-10-01删除成果-成果ID不能为空",false);
      bOOLEAN = mOmsAchievementService.deleteAchievement(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementComRespDto retData = new DeleteAchievementComRespDto();





return retData;
  }
/**
   * D3修改成果[9212]
   * gen by moon at 4/3/2024, 7:20:11 PM
   */
  @Trace(operationName = "D3修改成果")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementRespDto updateAchievement(UpdateAchievementReqDto reqDto){


      //步骤0: 3-10-01修改成果 - updateAchievement
     boolean bOOLEAN ;
    OmsAchievement omsAchievement=new OmsAchievement();
  if(reqDto!=null){
      omsAchievement.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693653_1
omsAchievement.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693654_1
omsAchievement.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693671_1
omsAchievement.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693655_1
omsAchievement.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693672_1
omsAchievement.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693656_1
omsAchievement.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693673_1
omsAchievement.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693657_1
omsAchievement.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693658_1
omsAchievement.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693659_1
omsAchievement.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1693660_1
omsAchievement.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693661_1
omsAchievement.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693662_1
omsAchievement.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693663_1
omsAchievement.setAchievementConversiontDesc(reqDto.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1693664_1
omsAchievement.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1693665_1
omsAchievement.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1693666_1
omsAchievement.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693667_1
omsAchievement.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693668_1
omsAchievement.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693669_1
omsAchievement.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693670_1
    }

    /*3-10-01修改成果[9121]   */
    Assert.isNull(omsAchievement.getAchievementId(),"D3修改成果-3-10-01修改成果-成果ID不能为空",false);
//      bOOLEAN = mOmsAchievementService.updateAchievement(omsAchievement)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementRespDto retData = new UpdateAchievementRespDto();





return retData;
  }
/**
   * D3查询成果详情(公共)[9213]
   * gen by moon at 7/24/2024, 10:04:50 PM
   */
  @Trace(operationName = "D3查询成果详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementDetailComRespDto queryAchievementDetailCom(QueryAchievementDetailComReqDto reqDto){


      OmsAchievement omsAchievement_1 =null;
OmsBizAppHypertextContent omsBizAppHypertextContent_1 =null;
//步骤0: 3-10-01查询成果详情 - queryAchievementDetail
     OmsAchievement omsAchievement = null;
    QueryAchievementDetailReq queryAchievementDetailReq=new QueryAchievementDetailReq();
  if(reqDto!=null){
      queryAchievementDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693796_1
queryAchievementDetailReq.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694708_1
queryAchievementDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693704_1
queryAchievementDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693705_1
queryAchievementDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693706_1
    }

    /*3-10-01查询成果详情[9124]   */
    Assert.isNull(queryAchievementDetailReq.getSpaceId(),"D3查询成果详情(公共)-3-10-01查询成果详情-创建于空间ID不能为空",false);
      omsAchievement = mOmsAchievementService.queryAchievementDetail(queryAchievementDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievement_1 = omsAchievement;

//步骤1: 3-5-02查询业务应用超文本内容详情 - queryBusAppHypertextContentDetail
     OmsBizAppHypertextContent omsBizAppHypertextContent = null;
    if(omsAchievement !=null){
          QueryBusAppHypertextContentDetailReq queryBusAppHypertextContentDetailReq=new QueryBusAppHypertextContentDetailReq();
  queryBusAppHypertextContentDetailReq.setReleationContTypeCode("ACHIEVEMENT");//sourceId:1954211_1
queryBusAppHypertextContentDetailReq.setHypertextType("ACHIEVEMENT_DESC");//sourceId:1954216_1
if(reqDto!=null){
      queryBusAppHypertextContentDetailReq.setReleationContId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1954212_1
    }
if(omsAchievement!=null){
      queryBusAppHypertextContentDetailReq.setThemeContentId(omsAchievement.getDutyDeptId());//SimpleFieldAssign//sourceId:1954217_1
    }

    /*3-5-02查询成果介绍超文本信息[3140]   */
    Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContTypeCode(),"D3查询成果详情(公共)-3-5-02查询成果介绍超文本信息-超文本内容关联类型编码不能为空",false);
Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContId(),"D3查询成果详情(公共)-3-5-02查询成果介绍超文本信息-超文本内容关联主键ID不能为空",false);
Assert.isNull(queryBusAppHypertextContentDetailReq.getHypertextType(),"D3查询成果详情(公共)-3-5-02查询成果介绍超文本信息-超文本内容类型不能为空",false);
Assert.isNull(queryBusAppHypertextContentDetailReq.getThemeContentId(),"D3查询成果详情(公共)-3-5-02查询成果介绍超文本信息-主题内容ID不能为空",false);
      omsBizAppHypertextContent = mOmsBizAppHypertextContentService.queryBusAppHypertextContentDetail(queryBusAppHypertextContentDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppHypertextContent_1 = omsBizAppHypertextContent;
           }

QueryAchievementDetailComRespDto retData = new QueryAchievementDetailComRespDto();
  if(omsAchievement_1!=null){
      retData.setAchievementId(omsAchievement_1.getAchievementId());//SimpleFieldAssign//sourceId:1693738_1
retData.setAchievementTypeId(omsAchievement_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693739_1
retData.setAchievementTypeNumber(omsAchievement_1.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693740_1
retData.setAchievementCategoryId(omsAchievement_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693741_1
retData.setAchievementCategoryNumber(omsAchievement_1.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693742_1
retData.setAchievementGradeId(omsAchievement_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693743_1
retData.setAchievementGradeNumber(omsAchievement_1.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693744_1
retData.setAchievementBusinessGradeId(omsAchievement_1.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887308_1
retData.setAchievementBusinessGradeNumber(omsAchievement_1.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887309_1
retData.setCopyrightObjectTypeCode(omsAchievement_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693745_1
retData.setAchiveLibraryType(omsAchievement_1.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1936310_1
retData.setAchivementStateCode(omsAchievement_1.getAchivementStateCode());//SimpleFieldAssign//sourceId:1936311_1
retData.setAuditInductionId(omsAchievement_1.getAuditInductionId());//SimpleFieldAssign//sourceId:1936312_1
retData.setAuthenInductionId(omsAchievement_1.getAuthenInductionId());//SimpleFieldAssign//sourceId:1936313_1
retData.setIsUseConversion(omsAchievement_1.getIsUseConversion());//SimpleFieldAssign//sourceId:1693746_1
retData.setIsSymbolicAchievements(omsAchievement_1.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693747_1
retData.setDutyDeptId(omsAchievement_1.getDutyDeptId());//SimpleFieldAssign//sourceId:1953789_1
retData.setAchievementNumber(omsAchievement_1.getAchievementNumber());//SimpleFieldAssign//sourceId:1693748_1
retData.setAchievementName(omsAchievement_1.getAchievementName());//SimpleFieldAssign//sourceId:1693749_1
retData.setAchievementAddDesc(omsAchievement_1.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693751_1
retData.setAchievementConversiontDesc(omsAchievement_1.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1693752_1
retData.setAwardedUnit(omsAchievement_1.getAwardedUnit());//SimpleFieldAssign//sourceId:1693753_1
retData.setRelatedDocument(omsAchievement_1.getRelatedDocument());//SimpleFieldAssign//sourceId:1693754_1
retData.setAwardedTime(omsAchievement_1.getAwardedTime());//SimpleFieldAssign//sourceId:1693755_1
retData.setValidEndTime(omsAchievement_1.getValidEndTime());//SimpleFieldAssign//sourceId:1693756_1
retData.setSubjectLifeCycle(omsAchievement_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693757_1
retData.setOperationInductionId(omsAchievement_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1693758_1
retData.setCreateInductionId(omsAchievement_1.getCreateInductionId());//SimpleFieldAssign//sourceId:1693759_1
retData.setOperateTime(omsAchievement_1.getOperateTime());//SimpleFieldAssign//sourceId:1693760_1
retData.setCreateTime(omsAchievement_1.getCreateTime());//SimpleFieldAssign//sourceId:1693761_1
    }
if(omsBizAppHypertextContent_1!=null){
      retData.setAchievementDesc(omsBizAppHypertextContent_1.getHypertextContent());//SimpleFieldAssign//sourceId:1954218_1
    }




return retData;
  }
/**
   * D3查询成果列表(公共)[9214]
   * gen by moon at 7/23/2024, 2:44:31 AM
   */
  @Trace(operationName = "D3查询成果列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementListComRespDto queryAchievementListCom(QueryAchievementListComReqDto reqDto){


      List<OmsAchievement> listOmsAchievement_1 =new ArrayList<>();
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 =null;
BatchQueryAchievementCopyrightOwningComRespDto batchQueryAchievementCopyrightOwningComRespDto_1 =null;
BatchQueryDeptComRespDto batchQueryDeptComRespDto_1 =null;
//virtualUsage 3-10-01查询成果列表  71871
     List<OmsAchievement> listOmsAchievement =new ArrayList<>();
    QueryAchievementListReq queryAchievementListReq=new QueryAchievementListReq();
  if(reqDto!=null){
      queryAchievementListReq.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693768_1
queryAchievementListReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693762_1
queryAchievementListReq.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693775_1
queryAchievementListReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693763_1
queryAchievementListReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693776_1
queryAchievementListReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693764_1
queryAchievementListReq.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693777_1
queryAchievementListReq.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1937718_1
queryAchievementListReq.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1937719_1
queryAchievementListReq.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1937720_1
queryAchievementListReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693765_1
queryAchievementListReq.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1936326_1
queryAchievementListReq.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693766_1
queryAchievementListReq.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693767_1
queryAchievementListReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1937721_1
queryAchievementListReq.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693769_1
queryAchievementListReq.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693770_1
queryAchievementListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693771_1
queryAchievementListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693772_1
queryAchievementListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693773_1
    }

    /*3-10-01查询成果列表[9123]   */

      listOmsAchievement = mOmsAchievementService.queryAchievementList(queryAchievementListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievement_1 = listOmsAchievement;
if((listOmsAchievement!= null&&  listOmsAchievement !=null && listOmsAchievement.size()>0)) {
        //if(3-10-01查询成果列表.成果列表数据集条数 大于 0)  71872

BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto = null;
    if(listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)&& listOmsAchievement.size()>0 ){
          BatchQueryAchievementTypeAndLevelEtcInfoComReqDto batchQueryAchievementTypeAndLevelEtcInfoComReqDto=new BatchQueryAchievementTypeAndLevelEtcInfoComReqDto();
  //todo dong 未找到匹配生成策略,请检查生成策略batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setAchievementInfoList(listOmsAchievement),数据源项; to( ==>tableName:undefined, fieldEnname:achievementInfoList ,uniqueId: 1949132_1_71873 uniqueSourceId:1693774_1_71871) from (varName:undefined fieldlistOmsAchievement)
if(reqDto!=null){
      batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1949131_1_71873
    }

// TODO: 2024/7/23
        batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setAchievementInfoList(listOmsAchievement_1.stream().map(p->BeanUtil.toBean(p,AchievementInfoDto.class)).collect(Collectors.toList()));

    /*D3批量查询成果类型及等级等信息(公共)[9264]   */
    Assert.isNull(batchQueryAchievementTypeAndLevelEtcInfoComReqDto.getSpaceId(),"D3查询成果列表(公共)-D3批量查询成果类型及等级等信息(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementTypeAndLevelEtcInfoComRespDto = batchQueryAchievementTypeAndLevelEtcInfoCom(batchQueryAchievementTypeAndLevelEtcInfoComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 = batchQueryAchievementTypeAndLevelEtcInfoComRespDto;
           }
BatchQueryAchievementCopyrightOwningComRespDto batchQueryAchievementCopyrightOwningComRespDto = null;
    if(listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)&& listOmsAchievement.size()>0 ){
          BatchQueryAchievementCopyrightOwningComReqDto batchQueryAchievementCopyrightOwningComReqDto=new BatchQueryAchievementCopyrightOwningComReqDto();
  batchQueryAchievementCopyrightOwningComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1949139_1_71874
if(listOmsAchievement!= null&& !CollectionUtil.isEmpty(listOmsAchievement)&&  listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)){
      batchQueryAchievementCopyrightOwningComReqDto.setAchievementList(listOmsAchievement.stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1949134_1_71874
    }
if(reqDto!=null){
      batchQueryAchievementCopyrightOwningComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1949140_1_71874
    }

    /*D3批量查询成果版权归属(公共)[9331]   */
    Assert.isNull(batchQueryAchievementCopyrightOwningComReqDto.getSubjectLifeCycle(),"D3查询成果列表(公共)-D3批量查询成果版权归属(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQueryAchievementCopyrightOwningComReqDto.getSpaceId(),"D3查询成果列表(公共)-D3批量查询成果版权归属(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementCopyrightOwningComRespDto = batchQueryAchievementCopyrightOwningCom(batchQueryAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementCopyrightOwningComRespDto_1 = batchQueryAchievementCopyrightOwningComRespDto;
           }
BatchQueryDeptComRespDto batchQueryDeptComRespDto = null;
    if(listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)&& listOmsAchievement.size()>0 ){
          BatchQueryDeptComReqDto batchQueryDeptComReqDto=new BatchQueryDeptComReqDto();
  if(listOmsAchievement!= null&& !CollectionUtil.isEmpty(listOmsAchievement)&&  listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)){
      batchQueryDeptComReqDto.setDeptList(listOmsAchievement.stream().map(item->item.getDutyDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1949142_1_71875
    }

    /*D1批量查询部门(公共)[7511]   */

      batchQueryDeptComRespDto = fwBaseOrgClient.batchQueryDeptCom(batchQueryDeptComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryDeptComRespDto_1 = batchQueryDeptComRespDto;
           }
      }
QueryAchievementListComRespDto retData = new QueryAchievementListComRespDto();
  //数据集融合  MoreListToOneSource
        if(listOmsAchievement_1!= null&& !CollectionUtil.isEmpty(listOmsAchievement_1) && !CollectionUtil.isEmpty(listOmsAchievement_1) ){
          for (OmsAchievement omsAchievement : listOmsAchievement_1) {
              AchievementDto retElm = new AchievementDto();
             retElm.setAchievementId(omsAchievement.getAchievementId());//SimpleFieldAssign//sourceId:333260_2
retElm.setAchievementTypeId(omsAchievement.getAchievementTypeId());//SimpleFieldAssign//sourceId:333261_2
retElm.setAchievementTypeNumber(omsAchievement.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:333262_2
retElm.setAchievementCategoryId(omsAchievement.getAchievementCategoryId());//SimpleFieldAssign//sourceId:333263_2
retElm.setAchievementCategoryNumber(omsAchievement.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:333264_2
retElm.setAchievementGradeId(omsAchievement.getAchievementGradeId());//SimpleFieldAssign//sourceId:333265_2
retElm.setAchievementGradeNumber(omsAchievement.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:333266_2
retElm.setAchievementBusinessGradeId(omsAchievement.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:399110_2
retElm.setAchievementBusinessGradeNumber(omsAchievement.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:399111_2
retElm.setCopyrightObjectTypeCode(omsAchievement.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:333267_2
retElm.setIsUseConversion(omsAchievement.getIsUseConversion());//SimpleFieldAssign//sourceId:333268_2
retElm.setIsSymbolicAchievements(omsAchievement.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:333269_2
retElm.setAchievementNumber(omsAchievement.getAchievementNumber());//SimpleFieldAssign//sourceId:333270_2
retElm.setAchievementName(omsAchievement.getAchievementName());//SimpleFieldAssign//sourceId:333271_2
retElm.setAchievementDesc(omsAchievement.getAchievementDesc());//SimpleFieldAssign//sourceId:333272_2
retElm.setAchievementAddDesc(omsAchievement.getAchievementAddDesc());//SimpleFieldAssign//sourceId:333273_2
retElm.setAchievementConversiontDesc(omsAchievement.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:333274_2
retElm.setAwardedUnit(omsAchievement.getAwardedUnit());//SimpleFieldAssign//sourceId:333275_2
retElm.setRelatedDocument(omsAchievement.getRelatedDocument());//SimpleFieldAssign//sourceId:333276_2
retElm.setAwardedTime(omsAchievement.getAwardedTime());//SimpleFieldAssign//sourceId:333277_2
retElm.setValidEndTime(omsAchievement.getValidEndTime());//SimpleFieldAssign//sourceId:333278_2
retElm.setSubjectLifeCycle(omsAchievement.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:333279_2
retElm.setOperationInductionId(omsAchievement.getOperationInductionId());//SimpleFieldAssign//sourceId:333280_2
retElm.setCreateTime(omsAchievement.getCreateTime());//SimpleFieldAssign//sourceId:333281_2
retElm.setOperateTime(omsAchievement.getOperateTime());//SimpleFieldAssign//sourceId:333282_2
retElm.setDutyDeptId(omsAchievement.getDutyDeptId());//SimpleFieldAssign//sourceId:399119_2
              retData.getAchievementList().add(retElm);
               if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!= null){
          for (AchievementInfoDto achievementInfoDto : batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1.getAchievementInfoList()) {
                if (achievementInfoDto.getAchievementId().equals(omsAchievement.getAchievementId())) {
                 if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!=null){
      retElm.setAchievementTypeName(achievementInfoDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:399112_2
retElm.setAchievementCategoryName(achievementInfoDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:399113_2
retElm.setAchievementGradeName(achievementInfoDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:399114_2
retElm.setAchievementBusinessGradeName(achievementInfoDto.getAchievementBusinessGradeName());//SimpleFieldAssign//sourceId:399115_2
retElm.setBelongName(achievementInfoDto.getBelongName());//SimpleFieldAssign//sourceId:399116_2
    }
                }
            }
          }

 if(batchQueryAchievementCopyrightOwningComRespDto_1!= null){
          for (AchievementCopyrightOwningDto achievementCopyrightOwningDto : batchQueryAchievementCopyrightOwningComRespDto_1.getAchievementCopyrightOwningList()) {
                if (achievementCopyrightOwningDto.getAchievementId().equals(omsAchievement.getAchievementId())) {
                 if(batchQueryAchievementCopyrightOwningComRespDto_1!=null){
      retElm.setCopyrightObjectId(achievementCopyrightOwningDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:399117_2
retElm.setCopyrightObjectName(achievementCopyrightOwningDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:399118_2
    }
                }
            }
          }

 if(batchQueryDeptComRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(omsAchievement.getDutyDeptId())) {
                 if(batchQueryDeptComRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:399120_2
    }
                }
            }
          }

          }
        }//sourceId:1693793_1




return retData;
  }
/**
   * D3查询成果类型等级关系详情(公共)[9181]
   * gen by moon at 4/3/2024, 6:57:19 PM
   */
  @Trace(operationName = "D3查询成果类型等级关系详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTypeGradeRelationshipDetailComRespDto queryAchievementTypeGradeRelationshipDetailCom(QueryAchievementTypeGradeRelationshipDetailComReqDto reqDto){


      OmsAchievementTypeGradeRelationship omsAchievementTypeGradeRelationship_1 =null;
//步骤0: 3-10-05查询成果类型等级关系详情 - queryAchievementTypeGradeRelationshipDetail
     OmsAchievementTypeGradeRelationship omsAchievementTypeGradeRelationship = null;
    QueryAchievementTypeGradeRelationshipDetailReq queryAchievementTypeGradeRelationshipDetailReq=new QueryAchievementTypeGradeRelationshipDetailReq();
  if(reqDto!=null){
      queryAchievementTypeGradeRelationshipDetailReq.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693461_1
queryAchievementTypeGradeRelationshipDetailReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693162_1
queryAchievementTypeGradeRelationshipDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693163_1
    }

    /*3-10-05查询成果类型等级关系详情[9182]   */
    Assert.isNull(queryAchievementTypeGradeRelationshipDetailReq.getSpaceId(),"D3查询成果类型等级关系详情(公共)-3-10-05查询成果类型等级关系详情-创建于空间ID不能为空",false);
      omsAchievementTypeGradeRelationship = mOmsAchievementTypeGradeRelationshipService.queryAchievementTypeGradeRelationshipDetail(queryAchievementTypeGradeRelationshipDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementTypeGradeRelationship_1 = omsAchievementTypeGradeRelationship;

QueryAchievementTypeGradeRelationshipDetailComRespDto retData = new QueryAchievementTypeGradeRelationshipDetailComRespDto();
  if(omsAchievementTypeGradeRelationship_1!=null){
      retData.setTypeGradeRelationshipId(omsAchievementTypeGradeRelationship_1.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693239_1
retData.setSubjectLifeCycle(omsAchievementTypeGradeRelationship_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693240_1
    }




return retData;
  }
/**
   * D3删除成果类型等级关系(公共)[9180]
   * gen by moon at 4/3/2024, 6:57:33 PM
   */
  @Trace(operationName = "D3删除成果类型等级关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTypeGradeRelationshipComRespDto deleteAchievementTypeGradeRelationshipCom(DeleteAchievementTypeGradeRelationshipComReqDto reqDto){


      //步骤0: 3-10-05删除成果类型等级关系 - deleteAchievementTypeGradeRelationship
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getTypeGradeRelationshipId();;//SimpleFieldAssign//sourceId:1693181_1
    }

    /*3-10-05删除成果类型等级关系[9117]   */
    Assert.isNull(string,"D3删除成果类型等级关系(公共)-3-10-05删除成果类型等级关系-成果类型等级关系ID不能为空",false);
      bOOLEAN = mOmsAchievementTypeGradeRelationshipService.deleteAchievementTypeGradeRelationship(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementTypeGradeRelationshipComRespDto retData = new DeleteAchievementTypeGradeRelationshipComRespDto();





return retData;
  }
/**
   * D3删除成果类型等级关系业务处理[9200]
   * gen by moon at 4/3/2024, 6:57:46 PM
   */
  @Trace(operationName = "D3删除成果类型等级关系业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTypeGradeRelationshipBusinessHandleRespDto deleteAchievementTypeGradeRelationshipBusinessHandle(DeleteAchievementTypeGradeRelationshipBusinessHandleReqDto reqDto){


      //步骤0: D3查询成果类型等级关系详情(公共) - queryAchievementTypeGradeRelationshipDetailCom
     QueryAchievementTypeGradeRelationshipDetailComRespDto queryAchievementTypeGradeRelationshipDetailComRespDto = null;
    QueryAchievementTypeGradeRelationshipDetailComReqDto queryAchievementTypeGradeRelationshipDetailComReqDto=new QueryAchievementTypeGradeRelationshipDetailComReqDto();
  queryAchievementTypeGradeRelationshipDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693453_1
if(reqDto!=null){
      queryAchievementTypeGradeRelationshipDetailComReqDto.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693463_1
    }

    /*D3查询成果类型等级关系详情(公共)[9181]   */
    Assert.isNull(queryAchievementTypeGradeRelationshipDetailComReqDto.getTypeGradeRelationshipId(),"D3删除成果类型等级关系业务处理-D3查询成果类型等级关系详情(公共)-成果类型等级关系ID不能为空",false);
Assert.isNull(queryAchievementTypeGradeRelationshipDetailComReqDto.getSpaceId(),"D3删除成果类型等级关系业务处理-D3查询成果类型等级关系详情(公共)-创建于空间ID不能为空",false);
      queryAchievementTypeGradeRelationshipDetailComRespDto = queryAchievementTypeGradeRelationshipDetailCom(queryAchievementTypeGradeRelationshipDetailComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤1: D1执行生命周期判断(公共) - implementLifeCycleJudgmentCom
     ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
    if(queryAchievementTypeGradeRelationshipDetailComRespDto !=null){
          ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto=new ImplementLifeCycleJudgmentComReqDto();
  implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1693458_1
if(queryAchievementTypeGradeRelationshipDetailComRespDto!=null){
      implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryAchievementTypeGradeRelationshipDetailComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693459_1
    }

    /*D1执行生命周期判断(公共)[7830]   */
    Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(),"D3删除成果类型等级关系业务处理-D1执行生命周期判断(公共)-主体生命周期不能为空",false);
Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(),"D3删除成果类型等级关系业务处理-D1执行生命周期判断(公共)-生命周期操作类型不能为空",false);
      implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }

//步骤2: D3删除成果类型等级关系(公共) - deleteAchievementTypeGradeRelationshipCom
     DeleteAchievementTypeGradeRelationshipComRespDto deleteAchievementTypeGradeRelationshipComRespDto = null;
    DeleteAchievementTypeGradeRelationshipComReqDto deleteAchievementTypeGradeRelationshipComReqDto=new DeleteAchievementTypeGradeRelationshipComReqDto();
  if(reqDto!=null){
      deleteAchievementTypeGradeRelationshipComReqDto.setTypeGradeRelationshipId(reqDto.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:1693451_1
    }

    /*D3删除成果类型等级关系(公共)[9180]   */
    Assert.isNull(deleteAchievementTypeGradeRelationshipComReqDto.getTypeGradeRelationshipId(),"D3删除成果类型等级关系业务处理-D3删除成果类型等级关系(公共)-成果类型等级关系ID不能为空",false);
      deleteAchievementTypeGradeRelationshipComRespDto = deleteAchievementTypeGradeRelationshipCom(deleteAchievementTypeGradeRelationshipComReqDto)/*vcase invoke 同服务,同domain*/;




DeleteAchievementTypeGradeRelationshipBusinessHandleRespDto retData = new DeleteAchievementTypeGradeRelationshipBusinessHandleRespDto();





return retData;
  }
/**
   * D3执行调整成果类型等级关系排序[9201]
   * gen by moon at 4/3/2024, 7:20:22 PM
   */
  @Trace(operationName = "D3执行调整成果类型等级关系排序")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto implementAdjustAchievementTypeGradeRelationshipBusinessHandle(ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto reqDto){


      if((reqDto!= null&&  reqDto.getAchievementTypeGradeRelationshipList() !=null && reqDto.getAchievementTypeGradeRelationshipList().size()>0)) {
        //if(D3执行调整成果类型等级关系排序.成果类型等级关系列表数据集条数 大于 0)  65964

BatchUpdateAchievementTypeGradeRelationshipComRespDto batchUpdateAchievementTypeGradeRelationshipComRespDto = null;
    BatchUpdateAchievementTypeGradeRelationshipComReqDto batchUpdateAchievementTypeGradeRelationshipComReqDto=new BatchUpdateAchievementTypeGradeRelationshipComReqDto();
  if(reqDto!= null&&  reqDto.getAchievementTypeGradeRelationshipList() !=null&& !CollectionUtil.isEmpty(reqDto.getAchievementTypeGradeRelationshipList())){
      batchUpdateAchievementTypeGradeRelationshipComReqDto.setAchievementTypeGradeRelationshipList(//objList-to-objLists
        reqDto.getAchievementTypeGradeRelationshipList().stream().map(item -> {
      AchievementTypeGradeRelationshipDto elm = new AchievementTypeGradeRelationshipDto();
      elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:333197_2_65965
elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:333198_2_65965
if(item!=null){
      elm.setTypeGradeRelationshipId(item.getTypeGradeRelationshipId());//SimpleFieldAssign//sourceId:333194_2_65965
elm.setOrderNumber(item.getOrderNumber());//SimpleFieldAssign//sourceId:333195_2_65965
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693514_1_65965
    }

    /*D3批量改成果类型等级关系(公共)[9202]   */

      batchUpdateAchievementTypeGradeRelationshipComRespDto = batchUpdateAchievementTypeGradeRelationshipCom(batchUpdateAchievementTypeGradeRelationshipComReqDto)/*vcase invoke 同服务,同domain*/;



      }
ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto retData = new ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto();





return retData;
  }
/**
   * D3修改成果团队成员(公共)[9206]
   * gen by moon at 4/3/2024, 11:40:20 PM
   */
  @Trace(operationName = "D3修改成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementTeamMemberComRespDto updateAchievementTeamMemberCom(UpdateAchievementTeamMemberComReqDto reqDto){


      //步骤0: 3-10-06修改成果团队成员 - updateAchievementTeamMember
     boolean bOOLEAN ;
    OmsAchievementTeamMember omsAchievementTeamMember=new OmsAchievementTeamMember();
  if(reqDto!=null){
      omsAchievementTeamMember.setAchievementTeamMemberId(reqDto.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1693588_1
omsAchievementTeamMember.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1693594_1
omsAchievementTeamMember.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1693595_1
omsAchievementTeamMember.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693597_1
omsAchievementTeamMember.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693598_1
    }

    /*3-10-06修改成果团队成员[9126]   */
    Assert.isNull(omsAchievementTeamMember.getAchievementTeamMemberId(),"D3修改成果团队成员(公共)-3-10-06修改成果团队成员-成果团队成员ID不能为空",false);
      bOOLEAN = mOmsAchievementTeamMemberService.updateAchievementTeamMember(omsAchievementTeamMember)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementTeamMemberComRespDto retData = new UpdateAchievementTeamMemberComRespDto();





return retData;
  }
/**
   * D3删除成果团队成员(公共)[9207]
   * gen by moon at 4/3/2024, 11:40:21 PM
   */
  @Trace(operationName = "D3删除成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementTeamMemberComRespDto deleteAchievementTeamMemberCom(DeleteAchievementTeamMemberComReqDto reqDto){


      //步骤0: 3-10-06删除成果团队成员 - deleteAchievementTeamMember
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementTeamMemberId();;//SimpleFieldAssign//sourceId:1693587_1
    }

    /*3-10-06删除成果团队成员[9128]   */
    Assert.isNull(string,"D3删除成果团队成员(公共)-3-10-06删除成果团队成员-成果团队成员ID不能为空",false);
      bOOLEAN = mOmsAchievementTeamMemberService.deleteAchievementTeamMember(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementTeamMemberComRespDto retData = new DeleteAchievementTeamMemberComRespDto();





return retData;
  }
/**
   * D3查询成果团队成员列表(公共)[9208]
   * gen by moon at 4/3/2024, 11:40:25 PM
   */
  @Trace(operationName = "D3查询成果团队成员列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListCom(QueryAchievementTeamMemberListComReqDto reqDto){


      List<OmsAchievementTeamMember> listOmsAchievementTeamMember_1 =new ArrayList<>();
//步骤0: 3-10-06查询成果团队成员列表 - queryAchievementTeamMemberList
     List<OmsAchievementTeamMember> listOmsAchievementTeamMember =new ArrayList<>();
    QueryAchievementTeamMemberListReq queryAchievementTeamMemberListReq=new QueryAchievementTeamMemberListReq();
  if(reqDto!=null){
      queryAchievementTeamMemberListReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693547_1
queryAchievementTeamMemberListReq.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1693548_1
queryAchievementTeamMemberListReq.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1693549_1
queryAchievementTeamMemberListReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1693550_1
queryAchievementTeamMemberListReq.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1693551_1
queryAchievementTeamMemberListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693552_1
queryAchievementTeamMemberListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693553_1
queryAchievementTeamMemberListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693554_1
    }

    /*3-10-06查询成果团队成员列表[9127]   */

      listOmsAchievementTeamMember = mOmsAchievementTeamMemberService.queryAchievementTeamMemberList(queryAchievementTeamMemberListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementTeamMember_1 = listOmsAchievementTeamMember;

QueryAchievementTeamMemberListComRespDto retData = new QueryAchievementTeamMemberListComRespDto();
  retData.setAchievementTeamList(listOmsAchievementTeamMember_1.stream().map(item -> BeanUtil.toBean(item, AchievementTeamDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1693564_1




return retData;
  }
/**
   * D3新增成果团队成员(公共)[9209]
   * gen by moon at 7/19/2024, 9:09:34 PM
   */
  @Trace(operationName = "D3新增成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementTeamMemberComRespDto addAchievementTeamMemberCom(AddAchievementTeamMemberComReqDto reqDto){


      String string_1 =null;
//步骤0: 3-10-06新增成果团队成员 - addAchievementTeamMember
     String string = null;
    OmsAchievementTeamMember omsAchievementTeamMember=new OmsAchievementTeamMember();
omsAchievementTeamMember.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1693575_1
if(reqDto!=null){
      omsAchievementTeamMember.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693565_1
omsAchievementTeamMember.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1693566_1
omsAchievementTeamMember.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1693567_1
omsAchievementTeamMember.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1693568_1
omsAchievementTeamMember.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1693569_1
omsAchievementTeamMember.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1693570_1
omsAchievementTeamMember.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1693571_1
omsAchievementTeamMember.setOrderNumber(reqDto.getOrderNumber());//SimpleFieldAssign//sourceId:1693572_1
omsAchievementTeamMember.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693573_1
omsAchievementTeamMember.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1693574_1
    }

    /*3-10-06新增成果团队成员[9125]   */
    Assert.isNull(omsAchievementTeamMember.getAchievementId(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-成果ID不能为空",false);
Assert.isNull(omsAchievementTeamMember.getIsManualCreate(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-是否人工输入不能为空",false);
Assert.isNull(omsAchievementTeamMember.getAchievementMemberName(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-成果团队成员名称不能为空",false);
Assert.isNull(omsAchievementTeamMember.getAchievementMemberNumber(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-成果团队成员编号不能为空",false);
Assert.isNull(omsAchievementTeamMember.getOrderNumber(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-排序不能为空",false);
Assert.isNull(omsAchievementTeamMember.getSpaceId(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementTeamMember.getAppId(),"D3新增成果团队成员(公共)-3-10-06新增成果团队成员-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementTeamMemberService.addAchievementTeamMember(omsAchievementTeamMember)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;

AddAchievementTeamMemberComRespDto retData = new AddAchievementTeamMemberComRespDto();
  if(string_1!=null){
      retData.setAchievementTeamMemberId(string_1);//SimpleFieldAssign//sourceId:1693586_1
    }




return retData;
  }
/**
   * D3修改成果(公共)[9212]
   * gen by moon at 8/14/2024, 1:10:18 PM
   */
  @Trace(operationName = "D3修改成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementComRespDto updateAchievementCom(UpdateAchievementComReqDto reqDto){


      //步骤0: 3-10-01修改成果 - updateAchievement
     boolean bOOLEAN ;
    OmsAchievement omsAchievement=new OmsAchievement();
  if(reqDto!=null){
      omsAchievement.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1693653_1
omsAchievement.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693658_1
omsAchievement.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693659_1
omsAchievement.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1693660_1
omsAchievement.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693661_1
omsAchievement.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693662_1
omsAchievement.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693663_1
omsAchievement.setAchievementConversiontDesc(reqDto.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1693664_1
omsAchievement.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1693665_1
omsAchievement.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1693666_1
omsAchievement.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693667_1
omsAchievement.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693668_1
omsAchievement.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1970285_1
omsAchievement.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1693669_1
omsAchievement.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1693670_1
    }

    /*3-10-01修改成果[9121]   */
    Assert.isNull(omsAchievement.getAchievementId(),"D3修改成果(公共)-3-10-01修改成果-成果ID不能为空",false);
      bOOLEAN = mOmsAchievementService.updateAchievement(omsAchievement)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementComRespDto retData = new UpdateAchievementComRespDto();





return retData;
  }
/**
   * D3新增成果业务处理[9217]
   * gen by moon at 9/4/2024, 8:31:52 PM
   */
  @Trace(operationName = "D3新增成果业务处理")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementBusinessHandleRespDto addAchievementBusinessHandle(AddAchievementBusinessHandleReqDto reqDto){


      AddAchievementComRespDto addAchievementComRespDto_1 =null;
AddAchievementCopyrightOwningComRespDto addAchievementCopyrightOwningComRespDto_1 =null;
//virtualUsage 3-10-01查询成果详情  72790
      OmsAchievement omsAchievement = null;
    QueryAchievementDetailReq queryAchievementDetailReq=new QueryAchievementDetailReq();
  queryAchievementDetailReq.setIsArchive("FALSE");//sourceId:1996858_1_72790
queryAchievementDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1996859_1_72790
if(reqDto!=null){
      queryAchievementDetailReq.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1996857_1_72790
    }

    /*3-10-01查询成果详情[9124]   */
    Assert.isNull(queryAchievementDetailReq.getAchievementNumber(),"D3新增成果业务处理-3-10-01查询成果详情-成果编号不能为空",false);
Assert.isNull(queryAchievementDetailReq.getIsArchive(),"D3新增成果业务处理-3-10-01查询成果详情-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailReq.getSpaceId(),"D3新增成果业务处理-3-10-01查询成果详情-创建于空间ID不能为空",false);
      omsAchievement = mOmsAchievementService.queryAchievementDetail(queryAchievementDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsAchievement == null )) {
        //if(3-10-01查询成果详情（用于判断成果编号是否唯一）.出参 值等于空 )  65991

AddAchievementComRespDto addAchievementComRespDto = null;
    AddAchievementComReqDto addAchievementComReqDto=new AddAchievementComReqDto();
  addAchievementComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693818_1_65992
addAchievementComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1693819_1_65992
if(reqDto!=null){
      addAchievementComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693800_1_65992
addAchievementComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693799_1_65992
addAchievementComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693801_1_65992
addAchievementComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693802_1_65992
addAchievementComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693803_1_65992
addAchievementComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693804_1_65992
addAchievementComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887262_1_65992
addAchievementComReqDto.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887263_1_65992
addAchievementComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693805_1_65992
addAchievementComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1939181_1_65992
addAchievementComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693806_1_65992
addAchievementComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693807_1_65992
addAchievementComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1937555_1_65992
addAchievementComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1693808_1_65992
addAchievementComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693809_1_65992
addAchievementComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693810_1_65992
addAchievementComReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693811_1_65992
addAchievementComReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1693814_1_65992
addAchievementComReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1693813_1_65992
addAchievementComReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693815_1_65992
addAchievementComReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693816_1_65992
    }

    /*D3新增成果(公共)[9210]   */
    Assert.isNull(addAchievementComReqDto.getAchievementTypeId(),"D3新增成果业务处理-D3新增成果(公共)-成果类型ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementTypeNumber(),"D3新增成果业务处理-D3新增成果(公共)-成果类型编号不能为空",false);
Assert.isNull(addAchievementComReqDto.getCopyrightObjectTypeCode(),"D3新增成果业务处理-D3新增成果(公共)-版权归属对象类型编码不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchiveLibraryType(),"D3新增成果业务处理-D3新增成果(公共)-成果库类型不能为空",false);
Assert.isNull(addAchievementComReqDto.getIsUseConversion(),"D3新增成果业务处理-D3新增成果(公共)-是否开启转化成果不能为空",false);
Assert.isNull(addAchievementComReqDto.getIsSymbolicAchievements(),"D3新增成果业务处理-D3新增成果(公共)-是否标志性成果不能为空",false);
Assert.isNull(addAchievementComReqDto.getDutyDeptId(),"D3新增成果业务处理-D3新增成果(公共)-业绩责任部门ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementNumber(),"D3新增成果业务处理-D3新增成果(公共)-成果编号不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementName(),"D3新增成果业务处理-D3新增成果(公共)-成果名称不能为空",false);
Assert.isNull(addAchievementComReqDto.getAwardedTime(),"D3新增成果业务处理-D3新增成果(公共)-授予时间不能为空",false);
Assert.isNull(addAchievementComReqDto.getSpaceId(),"D3新增成果业务处理-D3新增成果(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAppId(),"D3新增成果业务处理-D3新增成果(公共)-创建于联盟应用ID不能为空",false);
      addAchievementComRespDto = addAchievementCom(addAchievementComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementComRespDto_1 = addAchievementComRespDto;
AddAchievementCopyrightOwningComRespDto addAchievementCopyrightOwningComRespDto = null;
    if(addAchievementComRespDto !=null){
          AddAchievementCopyrightOwningComReqDto addAchievementCopyrightOwningComReqDto=new AddAchievementCopyrightOwningComReqDto();
  addAchievementCopyrightOwningComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694637_1_65994
addAchievementCopyrightOwningComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1694638_1_65994
if(addAchievementComRespDto!=null){
      addAchievementCopyrightOwningComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1694631_1_65994
    }
if(reqDto!=null){
      addAchievementCopyrightOwningComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1694632_1_65994
addAchievementCopyrightOwningComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1694633_1_65994
addAchievementCopyrightOwningComReqDto.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1694634_1_65994
addAchievementCopyrightOwningComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1694635_1_65994
    }

    /*D3新增成果版权归属(公共)[9219]   */
    Assert.isNull(addAchievementCopyrightOwningComReqDto.getAchievementId(),"D3新增成果业务处理-D3新增成果版权归属(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectTypeCode(),"D3新增成果业务处理-D3新增成果版权归属(公共)-版权归属对象类型不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectId(),"D3新增成果业务处理-D3新增成果版权归属(公共)-版权归属对象ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectName(),"D3新增成果业务处理-D3新增成果版权归属(公共)-版权归属对象名称不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getDutyDeptId(),"D3新增成果业务处理-D3新增成果版权归属(公共)-业绩责任部门ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getSpaceId(),"D3新增成果业务处理-D3新增成果版权归属(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getAppId(),"D3新增成果业务处理-D3新增成果版权归属(公共)-创建于联盟应用ID不能为空",false);
      addAchievementCopyrightOwningComRespDto = addAchievementCopyrightOwningCom(addAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementCopyrightOwningComRespDto_1 = addAchievementCopyrightOwningComRespDto;
           }
if((reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("PERSONAL"))) {
        //if(D3新增成果业务处理.版权归属对象类型编码 等于 个人)  71738

QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
    QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto=new QueryInductionRecordDetailComBorderReqDto();
  queryInductionRecordDetailComBorderReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1939171_1_71740
if(reqDto!=null){
      queryInductionRecordDetailComBorderReqDto.setInductionRecordId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1939166_1_71740
    }

    /*D1-3查询就职记录详情(公共)(边界)[1340]   */
    Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(),"D3新增成果业务处理-D1-3查询就职记录详情(公共)(边界)-就职记录ID不能为空",false);
Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSpaceId(),"D3新增成果业务处理-D1-3查询就职记录详情(公共)(边界)-创建于空间ID不能为空",false);
      queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



AddAchievementTeamMemberComRespDto addAchievementTeamMemberComRespDto = null;
    if(addAchievementComRespDto !=null&&queryInductionRecordDetailComBorderRespDto !=null){
          AddAchievementTeamMemberComReqDto addAchievementTeamMemberComReqDto=new AddAchievementTeamMemberComReqDto();
  addAchievementTeamMemberComReqDto.setIsManualCreate("FALSE");//sourceId:1939135_1_71739
addAchievementTeamMemberComReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1939144_1_71739
addAchievementTeamMemberComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1939142_1_71739
if(addAchievementComRespDto!=null){
      addAchievementTeamMemberComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1939134_1_71739
    }
if(queryInductionRecordDetailComBorderRespDto!=null){
      addAchievementTeamMemberComReqDto.setUserId(queryInductionRecordDetailComBorderRespDto.getUserId());//SimpleFieldAssign//sourceId:1939136_1_71739
addAchievementTeamMemberComReqDto.setOriginalRoleMemberId(queryInductionRecordDetailComBorderRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1939137_1_71739
addAchievementTeamMemberComReqDto.setAchievementMemberName(queryInductionRecordDetailComBorderRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1939139_1_71739
addAchievementTeamMemberComReqDto.setAchievementMemberNumber(queryInductionRecordDetailComBorderRespDto.getRoleMemberCode());//SimpleFieldAssign//sourceId:1939140_1_71739
    }
if(reqDto!=null){
      addAchievementTeamMemberComReqDto.setInductionRecordId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1939138_1_71739
    }

    /*D3新增成果团队成员(公共)[9209]   */
    Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementId(),"D3新增成果业务处理-D3新增成果团队成员(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getIsManualCreate(),"D3新增成果业务处理-D3新增成果团队成员(公共)-是否人工输入不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getUserId(),"D3新增成果业务处理-D3新增成果团队成员(公共)-个人账号ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOriginalRoleMemberId(),"D3新增成果业务处理-D3新增成果团队成员(公共)-身份人员ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getInductionRecordId(),"D3新增成果业务处理-D3新增成果团队成员(公共)-就职记录ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberName(),"D3新增成果业务处理-D3新增成果团队成员(公共)-成果团队成员名称不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberNumber(),"D3新增成果业务处理-D3新增成果团队成员(公共)-成果团队成员编号不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOrderNumber(),"D3新增成果业务处理-D3新增成果团队成员(公共)-排序不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSpaceId(),"D3新增成果业务处理-D3新增成果团队成员(公共)-创建于空间ID不能为空",false);
      addAchievementTeamMemberComRespDto = addAchievementTeamMemberCom(addAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
if((reqDto!= null&&  reqDto.getSubjectLifeCycle() !=null && reqDto.getSubjectLifeCycle().equals("EDITING"))) {
        //if(D3新增成果业务处理.主体生命周期 等于 正在编辑)  71700

UpdateAchiveStateCodeComRespDto updateAchiveStateCodeComRespDto = null;
    if(addAchievementComRespDto !=null){
          UpdateAchiveStateCodeComReqDto updateAchiveStateCodeComReqDto=new UpdateAchiveStateCodeComReqDto();
  updateAchiveStateCodeComReqDto.setAchiveOperateType("ADD_EDIT_ACHIVE_TO_RELEASED");//sourceId:1936732_1_71702
updateAchiveStateCodeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1936733_1_71702
if(addAchievementComRespDto!=null){
      updateAchiveStateCodeComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1936731_1_71702
    }

    /*D3修改成果冗余状态-正在编辑[9966]   */
    Assert.isNull(updateAchiveStateCodeComReqDto.getAchievementId(),"D3新增成果业务处理-D3修改成果冗余状态-正在编辑-成果ID不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto.getAchiveOperateType(),"D3新增成果业务处理-D3修改成果冗余状态-正在编辑-成果操作类型不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto.getSpaceId(),"D3新增成果业务处理-D3修改成果冗余状态-正在编辑-创建于空间ID不能为空",false);
      updateAchiveStateCodeComRespDto = updateAchiveStateCodeCom(updateAchiveStateCodeComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getSubjectLifeCycle() !=null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID"))){
       //elseif(D3新增成果业务处理.主体生命周期 等于 当前有效)  71701

UpdateAchiveStateCodeComRespDto updateAchiveStateCodeComRespDto_1 = null;
    if(addAchievementComRespDto !=null){
          UpdateAchiveStateCodeComReqDto updateAchiveStateCodeComReqDto_1=new UpdateAchiveStateCodeComReqDto();
  updateAchiveStateCodeComReqDto_1.setAchiveOperateType("ADD_AUDIT_TO_AUDIT");//sourceId:1936735_1_71703
updateAchiveStateCodeComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1936736_1_71703
if(addAchievementComRespDto!=null){
      updateAchiveStateCodeComReqDto_1.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1936734_1_71703
    }

    /*D3修改成果冗余状态-当前有效[9966]   */
    Assert.isNull(updateAchiveStateCodeComReqDto_1.getAchievementId(),"D3新增成果业务处理-D3修改成果冗余状态-当前有效-成果ID不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto_1.getAchiveOperateType(),"D3新增成果业务处理-D3修改成果冗余状态-当前有效-成果操作类型不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto_1.getSpaceId(),"D3新增成果业务处理-D3修改成果冗余状态-当前有效-创建于空间ID不能为空",false);
      updateAchiveStateCodeComRespDto_1 = updateAchiveStateCodeCom(updateAchiveStateCodeComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
      }
else if((omsAchievement != null )){
       //elseif(3-10-01查询成果详情（用于判断成果编号是否唯一）.出参 值不等于空 )  65995

//异常结束 65996
      throw new BizException("3340000365","对不起，成果编号已存在~",false);
    }
AddAchievementBusinessHandleRespDto retData = new AddAchievementBusinessHandleRespDto();
  if(addAchievementComRespDto_1!=null){
      retData.setAchievementId(addAchievementComRespDto_1.getAchievementId());//SimpleFieldAssign//sourceId:1694667_1
    }
if(addAchievementCopyrightOwningComRespDto_1!=null){
      retData.setAchievementCopyrightOwningId(addAchievementCopyrightOwningComRespDto_1.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1694669_1
    }




return retData;
  }
/**
   * D3新增成果版权归属(公共)[9219]
   * gen by moon at 7/18/2024, 9:05:02 PM
   */
  @Trace(operationName = "D3新增成果版权归属(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementCopyrightOwningComRespDto addAchievementCopyrightOwningCom(AddAchievementCopyrightOwningComReqDto reqDto){


      String string_1 =null;
//步骤0: 3-10-07新增成果版权归属 - addAchievementCopyrightOwning
     String string = null;
    OmsAchievementCopyrightOwning omsAchievementCopyrightOwning=new OmsAchievementCopyrightOwning();
  if(reqDto!=null){
      omsAchievementCopyrightOwning.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694613_1
omsAchievementCopyrightOwning.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1694614_1
omsAchievementCopyrightOwning.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1694621_1
omsAchievementCopyrightOwning.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1694615_1
omsAchievementCopyrightOwning.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1694616_1
omsAchievementCopyrightOwning.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1694618_1
omsAchievementCopyrightOwning.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1694619_1
    }

    /*3-10-07新增成果版权归属[9129]   */
    Assert.isNull(omsAchievementCopyrightOwning.getAchievementId(),"D3新增成果版权归属(公共)-3-10-07新增成果版权归属-成果ID不能为空",false);
Assert.isNull(omsAchievementCopyrightOwning.getCopyrightObjectTypeCode(),"D3新增成果版权归属(公共)-3-10-07新增成果版权归属-版权归属对象类型不能为空",false);
Assert.isNull(omsAchievementCopyrightOwning.getDutyDeptId(),"D3新增成果版权归属(公共)-3-10-07新增成果版权归属-业绩责任部门ID不能为空",false);
Assert.isNull(omsAchievementCopyrightOwning.getSpaceId(),"D3新增成果版权归属(公共)-3-10-07新增成果版权归属-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementCopyrightOwning.getAppId(),"D3新增成果版权归属(公共)-3-10-07新增成果版权归属-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementCopyrightOwningService.addAchievementCopyrightOwning(omsAchievementCopyrightOwning)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;

AddAchievementCopyrightOwningComRespDto retData = new AddAchievementCopyrightOwningComRespDto();
  if(string_1!=null){
      retData.setAchievementCopyrightOwningId(string_1);//SimpleFieldAssign//sourceId:1694630_1
    }




return retData;
  }
/**
   * D3查询成果团队成员详情(公共)[9226]
   * gen by moon at 4/4/2024, 10:12:17 AM
   */
  @Trace(operationName = "D3查询成果团队成员详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementTeamMemberDetailComRespDto queryAchievementTeamMemberDetailCom(QueryAchievementTeamMemberDetailComReqDto reqDto){


      OmsAchievementTeamMember omsAchievementTeamMember_1 =null;
//步骤0: 3-10-06查询成果团队成员详情 - queryAchievementTeamMemberDetail
     OmsAchievementTeamMember omsAchievementTeamMember = null;
    QueryAchievementTeamMemberDetailReq queryAchievementTeamMemberDetailReq=new QueryAchievementTeamMemberDetailReq();
  if(reqDto!=null){
      queryAchievementTeamMemberDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694952_1
queryAchievementTeamMemberDetailReq.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1694953_1
queryAchievementTeamMemberDetailReq.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1694954_1
queryAchievementTeamMemberDetailReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1695051_1
queryAchievementTeamMemberDetailReq.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1695050_1
queryAchievementTeamMemberDetailReq.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1694955_1
queryAchievementTeamMemberDetailReq.setOrderNumber(reqDto.getOrderNumber());//SimpleFieldAssign//sourceId:1694956_1
queryAchievementTeamMemberDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1694957_1
queryAchievementTeamMemberDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1694958_1
    }

    /*3-10-06查询成果团队成员详情[9227]   */
    Assert.isNull(queryAchievementTeamMemberDetailReq.getAchievementId(),"D3查询成果团队成员详情(公共)-3-10-06查询成果团队成员详情-成果ID不能为空",false);
      omsAchievementTeamMember = mOmsAchievementTeamMemberService.queryAchievementTeamMemberDetail(queryAchievementTeamMemberDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementTeamMember_1 = omsAchievementTeamMember;

QueryAchievementTeamMemberDetailComRespDto retData = new QueryAchievementTeamMemberDetailComRespDto();
  if(omsAchievementTeamMember_1!=null){
      retData.setAchievementTeamMemberId(omsAchievementTeamMember_1.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1694976_1
retData.setAchievementId(omsAchievementTeamMember_1.getAchievementId());//SimpleFieldAssign//sourceId:1694977_1
retData.setIsManualCreate(omsAchievementTeamMember_1.getIsManualCreate());//SimpleFieldAssign//sourceId:1694978_1
retData.setUserId(omsAchievementTeamMember_1.getUserId());//SimpleFieldAssign//sourceId:1694979_1
retData.setOriginalRoleMemberId(omsAchievementTeamMember_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1694980_1
retData.setInductionRecordId(omsAchievementTeamMember_1.getInductionRecordId());//SimpleFieldAssign//sourceId:1694981_1
retData.setAchievementMemberName(omsAchievementTeamMember_1.getAchievementMemberName());//SimpleFieldAssign//sourceId:1694982_1
retData.setAchievementMemberNumber(omsAchievementTeamMember_1.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1694983_1
retData.setOrderNumber(omsAchievementTeamMember_1.getOrderNumber());//SimpleFieldAssign//sourceId:1694984_1
    }




return retData;
  }
/**
   * D3修改成果业务处理(公共)[9220]
   * gen by moon at 8/14/2024, 1:10:29 PM
   */
  @Trace(operationName = "D3修改成果业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementBusinessHandleComRespDto updateAchievementBusinessHandleCom(UpdateAchievementBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询成果详情(公共)  65980
      QueryAchievementDetailComRespDto queryAchievementDetailComRespDto = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto.setIsArchive("FALSE");//sourceId:1694639_1_65980
if(reqDto!=null){
      queryAchievementDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694666_1_65980
queryAchievementDetailComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694712_1_65980
queryAchievementDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1694641_1_65980
    }

    /*D3查询成果详情(公共)[9213]   */
Assert.isNull(queryAchievementDetailComReqDto.getIsArchive(),"D3修改成果业务处理(公共)-D3查询成果详情(公共)-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto.getSpaceId(),"D3修改成果业务处理(公共)-D3查询成果详情(公共)-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto = queryAchievementDetailCom(queryAchievementDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementId() == null )) {
        //if(D3查询成果详情（用于判断成果编号是否修改）.成果ID 值等于空 )  65981

QueryAchievementDetailComRespDto queryAchievementDetailComRespDto_2 = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto_1=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto_1.setIsArchive("FALSE");//sourceId:1694639_1_65982
if(reqDto!=null){
      queryAchievementDetailComReqDto_1.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694712_1_65982
queryAchievementDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1694641_1_65982
    }

    /*D3查询成果详情(公共)[9213]   */
Assert.isNull(queryAchievementDetailComReqDto_1.getIsArchive(),"D3修改成果业务处理(公共)-D3查询成果详情(公共)-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto_1.getSpaceId(),"D3修改成果业务处理(公共)-D3查询成果详情(公共)-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto_2 = queryAchievementDetailCom(queryAchievementDetailComReqDto_1)/*vcase invoke 同服务,同domain*/;



if((queryAchievementDetailComRespDto_2!= null&& queryAchievementDetailComRespDto_2.getAchievementId() != null )) {
        //if(D3查询成果详情（用于判断入参成果编号是否唯一）.成果ID 值不等于空 )  65983

//异常结束 65984
      throw new BizException("3340000365","对不起，成果编号已存在~",false);
      }
      }
//virtualUsage D3修改成果(公共)  65987
      UpdateAchievementComRespDto updateAchievementComRespDto = null;
    UpdateAchievementComReqDto updateAchievementComReqDto=new UpdateAchievementComReqDto();
  if(reqDto!=null){
      updateAchievementComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694448_1_65987
updateAchievementComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694451_1_65987
updateAchievementComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1694452_1_65987
updateAchievementComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1694453_1_65987
updateAchievementComReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1694454_1_65987
updateAchievementComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1937779_1_65987
updateAchievementComReqDto.setAchievementConversiontDesc(reqDto.getAchievementConversiontDesc());//SimpleFieldAssign//sourceId:1694455_1_65987
updateAchievementComReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1694457_1_65987
updateAchievementComReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1694456_1_65987
updateAchievementComReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1694458_1_65987
updateAchievementComReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1694459_1_65987
updateAchievementComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1970287_1_65987
    }

    /*D3修改成果(公共)[9212]   */
    Assert.isNull(updateAchievementComReqDto.getAchievementId(),"D3修改成果业务处理(公共)-D3修改成果(公共)-成果ID不能为空",false);
      updateAchievementComRespDto = updateAchievementCom(updateAchievementComReqDto)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&&  reqDto.getDocumentList() !=null && reqDto.getDocumentList().size()>0)) {
        //if(D3修改成果业务处理(公共).文档列表数据集条数 大于 0)  71944

QueryAchievementDetailComRespDto queryAchievementDetailComRespDto_3 = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto_2=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto_2.setIsArchive("FALSE");//sourceId:1953781_1_71945
queryAchievementDetailComReqDto_2.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1953748_1_71945
if(reqDto!=null){
      queryAchievementDetailComReqDto_2.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1953773_1_71945
    }

    /*D3查询成果详情（用于处理图片）[9213]   */
    Assert.isNull(queryAchievementDetailComReqDto_2.getAchievementId(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-成果ID不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto_2.getIsArchive(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto_2.getSpaceId(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto_3 = queryAchievementDetailCom(queryAchievementDetailComReqDto_2)/*vcase invoke 同服务,同domain*/;



QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
    QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto=new QueryAchievementCopyrightOwningDetailComReqDto();
  queryAchievementCopyrightOwningDetailComReqDto.setIsArchive("FALSE");//sourceId:1953803_1_71947
queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1953804_1_71947
if(reqDto!=null){
      queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1953802_1_71947
    }

    /*D3查询成果版权归属详情(公共)[9237]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(),"D3修改成果业务处理(公共)-D3查询成果版权归属详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getIsArchive(),"D3修改成果业务处理(公共)-D3查询成果版权归属详情(公共)-是否存档不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(),"D3修改成果业务处理(公共)-D3查询成果版权归属详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningDetailComRespDto = queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto)/*vcase invoke 同服务,同domain*/;



    AddTargetReportAchievementDocAndDocRelaComRespDto addTargetReportAchievementDocAndDocRelaComRespDto = null;
    if(queryAchievementDetailComRespDto_3 !=null&&queryAchievementCopyrightOwningDetailComRespDto !=null){
        AddTargetReportAchievementDocAndDocRelaComReqDto addTargetReportAchievementDocAndDocRelaComReqDto=new AddTargetReportAchievementDocAndDocRelaComReqDto();
  addTargetReportAchievementDocAndDocRelaComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1953309_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setDocUseSceneCode("ACHIVEMENT");//sourceId:1953310_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setDocUseType("ACHIVEMENT_PIC");//sourceId:1953311_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnTableTypeCode("OMS_ACHIEVEMENT");//sourceId:1953313_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentTypeCode("OMS_ACHIEVEMENT_TYPE");//sourceId:1953314_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setThemeContentTypeCode("OMS_ORG_DEPT");//sourceId:1953317_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1953323_1_71946
if(queryAchievementDetailComRespDto_3!=null){
      addTargetReportAchievementDocAndDocRelaComReqDto.setOwnEntityId(queryAchievementDetailComRespDto_3.getAchievementId());//SimpleFieldAssign//sourceId:1953312_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentId(queryAchievementDetailComRespDto_3.getAchievementTypeId());//SimpleFieldAssign//sourceId:1953316_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentCode(queryAchievementDetailComRespDto_3.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1953315_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setThemeContentId(queryAchievementDetailComRespDto_3.getDutyDeptId());//SimpleFieldAssign//sourceId:1953318_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setIsSymbolicAchievements(queryAchievementDetailComRespDto_3.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1957485_1_71946
    }
if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      addTargetReportAchievementDocAndDocRelaComReqDto.setCopyrightObjectTypeCode(queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1953320_1_71946
addTargetReportAchievementDocAndDocRelaComReqDto.setCopyrightObjectId(queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1953321_1_71946
    }
if(reqDto!= null&&  reqDto.getDocumentList() !=null&& !CollectionUtil.isEmpty(reqDto.getDocumentList())){
      addTargetReportAchievementDocAndDocRelaComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1953308_1_71946
    }

    /*D3新增或修改目标下汇报成果文档关系(公共)[10022]   */
    Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getIsCleanPersonalInvalidDocument(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-是否清理个人无效文档不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getDocUseSceneCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-文档应用业务场景不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getDocUseType(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-文档用途类型不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnEntityId(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属内容表主键ID不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnTableTypeCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属内容表类型编码不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnParentContentTypeCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属父内容表类型编码不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnParentContentId(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属父内容表主键ID不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnParentContentCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属父内容标识不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getThemeContentTypeCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-主题内容表类型编码不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getThemeContentId(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-主题内容ID不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getCopyrightObjectTypeCode(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-冗余版权归属对象类型不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getCopyrightObjectId(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-冗余版权归属对象ID不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getSpaceId(),"D3修改成果业务处理(公共)-D3新增或修改目标下汇报成果文档关系(公共)-创建于空间ID不能为空",false);
      addTargetReportAchievementDocAndDocRelaComRespDto = unstructuredDataService.addTargetReportAchievementDocAndDocRelaCom(addTargetReportAchievementDocAndDocRelaComReqDto)/*vcase invoke isSameApp*/;



           }
      }
if((reqDto!= null&& reqDto.getAchievementDesc() != null )) {
        //if(D3修改成果业务处理(公共).成果介绍 值不等于空 )  71952

QueryAchievementDetailComRespDto queryAchievementDetailComRespDto_5 = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto_3=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto_3.setIsArchive("FALSE");//sourceId:1953781_1_71959
queryAchievementDetailComReqDto_3.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1953748_1_71959
if(reqDto!=null){
      queryAchievementDetailComReqDto_3.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1953773_1_71959
    }

    /*D3查询成果详情（用于处理图片）[9213]   */
    Assert.isNull(queryAchievementDetailComReqDto_3.getAchievementId(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-成果ID不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto_3.getIsArchive(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto_3.getSpaceId(),"D3修改成果业务处理(公共)-D3查询成果详情（用于处理图片）-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto_5 = queryAchievementDetailCom(queryAchievementDetailComReqDto_3)/*vcase invoke 同服务,同domain*/;



UpdateHypertextContentComRespDto updateHypertextContentComRespDto = null;
    if(queryAchievementDetailComRespDto_5 !=null){
          UpdateHypertextContentComReqDto updateHypertextContentComReqDto=new UpdateHypertextContentComReqDto();
  updateHypertextContentComReqDto.setReleationContTypeCode("ACHIEVEMENT");//sourceId:1954684_1_71958
updateHypertextContentComReqDto.setHypertextType("ACHIEVEMENT_DESC");//sourceId:1954685_1_71958
updateHypertextContentComReqDto.setThemeContentTypeCode("OMS_ORG_DEPT");//sourceId:1954686_1_71958
if(reqDto!=null){
      updateHypertextContentComReqDto.setHypertextContent(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1954681_1_71958
updateHypertextContentComReqDto.setReleationContId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1954682_1_71958
    }
if(queryAchievementDetailComRespDto_5!=null){
      updateHypertextContentComReqDto.setThemeContentId(queryAchievementDetailComRespDto_5.getDutyDeptId());//SimpleFieldAssign//sourceId:1954683_1_71958
    }

    /*D3修改超文本内容(公共)[10048]   */
    Assert.isNull(updateHypertextContentComReqDto.getHypertextContent(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-超文本内容不能为空",false);
Assert.isNull(updateHypertextContentComReqDto.getReleationContId(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-超文本内容关联主键ID不能为空",false);
Assert.isNull(updateHypertextContentComReqDto.getReleationContTypeCode(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-超文本内容关联类型编码不能为空",false);
Assert.isNull(updateHypertextContentComReqDto.getHypertextType(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-超文本内容类型不能为空",false);
Assert.isNull(updateHypertextContentComReqDto.getThemeContentTypeCode(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-主题内容类型编码不能为空",false);
Assert.isNull(updateHypertextContentComReqDto.getThemeContentId(),"D3修改成果业务处理(公共)-D3修改超文本内容(公共)-主题内容ID不能为空",false);
      updateHypertextContentComRespDto = hypertextContentService.updateHypertextContentCom(updateHypertextContentComReqDto)/*vcase invoke isSameApp*/;



           }
      }
UpdateAchievementBusinessHandleComRespDto retData = new UpdateAchievementBusinessHandleComRespDto();





return retData;
  }
/**
   * D3新增成果团队成员业务处理(公共)[9221]
   * gen by moon at 4/4/2024, 1:32:21 PM
   */
  @Trace(operationName = "D3新增成果团队成员业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddOutcomeTeamMembBusinessHandleComRespDto addOutcomeTeamMembBusinessHandleCom(AddOutcomeTeamMembBusinessHandleComReqDto reqDto){


      AddAchievementTeamMemberComRespDto addAchievementTeamMemberComRespDto_1 =null;
//virtualUsage D3查询成果团队成员详情(用于判断是否已存在)  66005
      QueryAchievementTeamMemberDetailComRespDto queryAchievementTeamMemberDetailComRespDto = null;
    QueryAchievementTeamMemberDetailComReqDto queryAchievementTeamMemberDetailComReqDto=new QueryAchievementTeamMemberDetailComReqDto();
  queryAchievementTeamMemberDetailComReqDto.setIsArchive("FALSE");//sourceId:1695015_1_66005
if(reqDto!=null){
      queryAchievementTeamMemberDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695010_1_66005
queryAchievementTeamMemberDetailComReqDto.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1695012_1_66005
queryAchievementTeamMemberDetailComReqDto.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1695013_1_66005
queryAchievementTeamMemberDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695016_1_66005
    }

    /*D3查询成果团队成员详情(用于判断是否已存在)[9226]   */
    Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getAchievementId(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员详情(用于判断是否已存在)-成果ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getAchievementMemberNumber(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员详情(用于判断是否已存在)-成果团队成员编号不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getIsArchive(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员详情(用于判断是否已存在)-是否存档不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getSpaceId(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员详情(用于判断是否已存在)-创建于空间ID不能为空",false);
      queryAchievementTeamMemberDetailComRespDto = queryAchievementTeamMemberDetailCom(queryAchievementTeamMemberDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTeamMemberDetailComRespDto!= null&& queryAchievementTeamMemberDetailComRespDto.getAchievementTeamMemberId() == null )) {
        //if(D3查询成果团队成员详情(用于判断是否已存在).成果团队成员ID 值等于空 )  66006

QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
    QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto=new QueryAchievementTeamMemberListComReqDto();
  queryAchievementTeamMemberListComReqDto.setIsArchive("FALSE");//sourceId:1695088_1_66010
if(reqDto!=null){
      queryAchievementTeamMemberListComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695083_1_66010
queryAchievementTeamMemberListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695090_1_66010
    }

    /*D3查询成果团队成员列表(用于计算新增成果团队成员排序值)[9208]   */
    Assert.isNull(queryAchievementTeamMemberListComReqDto.getAchievementId(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员列表(用于计算新增成果团队成员排序值)-成果ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员列表(用于计算新增成果团队成员排序值)-创建于空间ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getIsArchive(),"D3新增成果团队成员业务处理(公共)-D3查询成果团队成员列表(用于计算新增成果团队成员排序值)-是否存档不能为空",false);
      queryAchievementTeamMemberListComRespDto = queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementCalculateSortValueComRespDto implementCalculateSortValueComRespDto = null;
    if(queryAchievementTeamMemberListComRespDto !=null){
          ImplementCalculateSortValueComReqDto implementCalculateSortValueComReqDto=new ImplementCalculateSortValueComReqDto();
  if(queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(queryAchievementTeamMemberListComRespDto.getAchievementTeamList())){
      implementCalculateSortValueComReqDto.setContentAmountList(queryAchievementTeamMemberListComRespDto.getAchievementTeamList().stream().map(item->item.getAchievementTeamMemberId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1695094_1_66011
    }

    /*D3执行计算排序(公共)[5588]   */

      implementCalculateSortValueComRespDto = targetContentService.implementCalculateSortValueCom(implementCalculateSortValueComReqDto)/*vcase invoke isSameApp*/;



           }
AddAchievementTeamMemberComRespDto addAchievementTeamMemberComRespDto = null;
    if(implementCalculateSortValueComRespDto !=null){
          AddAchievementTeamMemberComReqDto addAchievementTeamMemberComReqDto=new AddAchievementTeamMemberComReqDto();
  if(reqDto!=null){
      addAchievementTeamMemberComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1694725_1_66007
addAchievementTeamMemberComReqDto.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1694726_1_66007
addAchievementTeamMemberComReqDto.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1694729_1_66007
addAchievementTeamMemberComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1694728_1_66007
addAchievementTeamMemberComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1694727_1_66007
addAchievementTeamMemberComReqDto.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1694730_1_66007
addAchievementTeamMemberComReqDto.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1694731_1_66007
addAchievementTeamMemberComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1694732_1_66007
addAchievementTeamMemberComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1694733_1_66007
    }
if(implementCalculateSortValueComRespDto!=null){
      addAchievementTeamMemberComReqDto.setOrderNumber(implementCalculateSortValueComRespDto.getOrderNumber());//SimpleFieldAssign//sourceId:1695097_1_66007
    }

    /*D3新增成果团队成员(公共)[9209]   */
    Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementId(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getIsManualCreate(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-是否人工输入不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberName(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-成果团队成员名称不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberNumber(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-成果团队成员编号不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOrderNumber(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-排序不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSubjectLifeCycle(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSpaceId(),"D3新增成果团队成员业务处理(公共)-D3新增成果团队成员(公共)-创建于空间ID不能为空",false);
      addAchievementTeamMemberComRespDto = addAchievementTeamMemberCom(addAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementTeamMemberComRespDto_1 = addAchievementTeamMemberComRespDto;
           }
ImplementOutcomeCopyrightPersonalDisposeComRespDto implementOutcomeCopyrightPersonalDisposeComRespDto = null;
    if(addAchievementTeamMemberComRespDto !=null&&implementCalculateSortValueComRespDto !=null){
    ImplementOutcomeCopyrightPersonalDisposeComReqDto implementOutcomeCopyrightPersonalDisposeComReqDto=new ImplementOutcomeCopyrightPersonalDisposeComReqDto();
  if(reqDto!=null){
      implementOutcomeCopyrightPersonalDisposeComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695214_1_66012
implementOutcomeCopyrightPersonalDisposeComReqDto.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1695908_1_66012
implementOutcomeCopyrightPersonalDisposeComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695215_1_66012
    }
if(addAchievementTeamMemberComRespDto!=null){
      implementOutcomeCopyrightPersonalDisposeComReqDto.setAchievementTeamMemberId(addAchievementTeamMemberComRespDto.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695890_1_66012
    }
if(implementCalculateSortValueComRespDto!=null){
      implementOutcomeCopyrightPersonalDisposeComReqDto.setOrderNumber(implementCalculateSortValueComRespDto.getOrderNumber());//SimpleFieldAssign//sourceId:1695909_1_66012
    }

    /*D3执行成果版权归属个人处理(公共)[9223]   */
    Assert.isNull(implementOutcomeCopyrightPersonalDisposeComReqDto.getAchievementId(),"D3新增成果团队成员业务处理(公共)-D3执行成果版权归属个人处理(公共)-成果ID不能为空",false);
Assert.isNull(implementOutcomeCopyrightPersonalDisposeComReqDto.getSpaceId(),"D3新增成果团队成员业务处理(公共)-D3执行成果版权归属个人处理(公共)-创建于空间ID不能为空",false);
      implementOutcomeCopyrightPersonalDisposeComRespDto = implementOutcomeCopyrightPersonalDisposeCom(implementOutcomeCopyrightPersonalDisposeComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else{
       //else  66008

//异常结束 66009
      throw new BizException("3340000366","对不起，团队成员已存在~",false);
    }
AddOutcomeTeamMembBusinessHandleComRespDto retData = new AddOutcomeTeamMembBusinessHandleComRespDto();
  if(addAchievementTeamMemberComRespDto_1!=null){
      retData.setAchievementTeamMemberId(addAchievementTeamMemberComRespDto_1.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695218_1
    }




return retData;
  }
/**
   * D3执行成果版权归属个人处理(公共)[9223]
   * gen by moon at 4/4/2024, 1:32:27 PM
   */
  @Trace(operationName = "D3执行成果版权归属个人处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementOutcomeCopyrightPersonalDisposeComRespDto implementOutcomeCopyrightPersonalDisposeCom(ImplementOutcomeCopyrightPersonalDisposeComReqDto reqDto){


      //virtualUsage D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）  66014
      QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
    QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto=new QueryAchievementCopyrightOwningDetailComReqDto();
  queryAchievementCopyrightOwningDetailComReqDto.setIsArchive("FALSE");//sourceId:1695906_1_66014
if(reqDto!=null){
      queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695905_1_66014
queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695907_1_66014
    }

    /*D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）[9237]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(),"D3执行成果版权归属个人处理(公共)-D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getIsArchive(),"D3执行成果版权归属个人处理(公共)-D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）-是否存档不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(),"D3执行成果版权归属个人处理(公共)-D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningDetailComRespDto = queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&& reqDto.getOrderNumber() != null &&reqDto!= null&& reqDto.getOrderNumber() == 1L&&queryAchievementCopyrightOwningDetailComRespDto!= null&& queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectId() == null &&queryAchievementCopyrightOwningDetailComRespDto!= null&&  queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectTypeCode() !=null && queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectTypeCode().equals("PERSONAL"))) {
        //if((D3执行成果版权归属个人处理(公共).排序 值不等于空  and D3执行成果版权归属个人处理(公共).排序 等于 1 and D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）.版权归属对象ID 值等于空  and D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）.版权归属对象类型 等于 个人))  66013

UpdateAchievementCopyrightOwningComRespDto updateAchievementCopyrightOwningComRespDto = null;
    if(queryAchievementCopyrightOwningDetailComRespDto !=null){
          UpdateAchievementCopyrightOwningComReqDto updateAchievementCopyrightOwningComReqDto=new UpdateAchievementCopyrightOwningComReqDto();
  if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      updateAchievementCopyrightOwningComReqDto.setAchievementCopyrightOwningId(queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695116_1_66021
    }
if(reqDto!=null){
      updateAchievementCopyrightOwningComReqDto.setCopyrightObjectId(reqDto.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695117_1_66021
updateAchievementCopyrightOwningComReqDto.setCopyrightObjectName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1695118_1_66021
    }

    /*D3回写成果版权归属对象信息(公共)[9233]   */
    Assert.isNull(updateAchievementCopyrightOwningComReqDto.getAchievementCopyrightOwningId(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-成果版权归属ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto.getCopyrightObjectId(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-版权归属对象ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto.getCopyrightObjectName(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-版权归属对象名称不能为空",false);
      updateAchievementCopyrightOwningComRespDto = updateAchievementCopyrightOwningCom(updateAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&& reqDto.getAchievementTeamMemberId() == null &&queryAchievementCopyrightOwningDetailComRespDto!= null&&  queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectTypeCode() !=null && queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectTypeCode().equals("PERSONAL")&&queryAchievementCopyrightOwningDetailComRespDto!= null&& queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectId() != null )){
       //elseif((D3执行成果版权归属个人处理(公共).成果团队成员ID 值等于空  and D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）.版权归属对象类型 等于 个人 and D3查询成果版权归属详请（用于判断是否回写成果版权归属对象信息）.版权归属对象ID 值不等于空 ))  66052

QueryAchievementTeamMemberDetailComRespDto queryAchievementTeamMemberDetailComRespDto = null;
    QueryAchievementTeamMemberDetailComReqDto queryAchievementTeamMemberDetailComReqDto=new QueryAchievementTeamMemberDetailComReqDto();
  queryAchievementTeamMemberDetailComReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1695897_1_66053
queryAchievementTeamMemberDetailComReqDto.setIsArchive("FALSE");//sourceId:1695898_1_66053
if(reqDto!=null){
      queryAchievementTeamMemberDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695896_1_66053
queryAchievementTeamMemberDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695899_1_66053
    }

    /*D3查成果团队第一负责人信息（用于回写成果版权归属对象信息）[9226]   */
    Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getAchievementId(),"D3执行成果版权归属个人处理(公共)-D3查成果团队第一负责人信息（用于回写成果版权归属对象信息）-成果ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getOrderNumber(),"D3执行成果版权归属个人处理(公共)-D3查成果团队第一负责人信息（用于回写成果版权归属对象信息）-排序不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getIsArchive(),"D3执行成果版权归属个人处理(公共)-D3查成果团队第一负责人信息（用于回写成果版权归属对象信息）-是否存档不能为空",false);
Assert.isNull(queryAchievementTeamMemberDetailComReqDto.getSpaceId(),"D3执行成果版权归属个人处理(公共)-D3查成果团队第一负责人信息（用于回写成果版权归属对象信息）-创建于空间ID不能为空",false);
      queryAchievementTeamMemberDetailComRespDto = queryAchievementTeamMemberDetailCom(queryAchievementTeamMemberDetailComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementStringEfficiencyCheckComRespDto implementStringEfficiencyCheckComRespDto = null;
    if(queryAchievementTeamMemberDetailComRespDto !=null&&queryAchievementCopyrightOwningDetailComRespDto !=null){
          ImplementStringEfficiencyCheckComReqDto implementStringEfficiencyCheckComReqDto=new ImplementStringEfficiencyCheckComReqDto();
  if(queryAchievementTeamMemberDetailComRespDto!=null){
      implementStringEfficiencyCheckComReqDto.setReferenceString(queryAchievementTeamMemberDetailComRespDto.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695902_1_66054
    }
if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      implementStringEfficiencyCheckComReqDto.setComparisonString(queryAchievementCopyrightOwningDetailComRespDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1695903_1_66054
    }

    /*D2-执行字符串对比(公共)[5774]   */
    Assert.isNull(implementStringEfficiencyCheckComReqDto.getReferenceString(),"D3执行成果版权归属个人处理(公共)-D2-执行字符串对比(公共)-参照字符串不能为空",false);
Assert.isNull(implementStringEfficiencyCheckComReqDto.getComparisonString(),"D3执行成果版权归属个人处理(公共)-D2-执行字符串对比(公共)-对比字符串不能为空",false);
      implementStringEfficiencyCheckComRespDto = fwCompInterfaceModeClient.implementStringEfficiencyCheckCom(implementStringEfficiencyCheckComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
if((implementStringEfficiencyCheckComRespDto!= null&&  implementStringEfficiencyCheckComRespDto.getStringEfficiencyCheckResult() !=null && implementStringEfficiencyCheckComRespDto.getStringEfficiencyCheckResult().equals("FALSE"))) {
        //if(D2-执行字符串对比(公共).字符串对比结果 等于 否)  66055

UpdateAchievementCopyrightOwningComRespDto updateAchievementCopyrightOwningComRespDto_1 = null;
    if(queryAchievementCopyrightOwningDetailComRespDto !=null&&queryAchievementTeamMemberDetailComRespDto !=null){
          UpdateAchievementCopyrightOwningComReqDto updateAchievementCopyrightOwningComReqDto_1=new UpdateAchievementCopyrightOwningComReqDto();
  if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      updateAchievementCopyrightOwningComReqDto_1.setAchievementCopyrightOwningId(queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695116_1_66056
    }
if(queryAchievementTeamMemberDetailComRespDto!=null){
      updateAchievementCopyrightOwningComReqDto_1.setCopyrightObjectId(queryAchievementTeamMemberDetailComRespDto.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:1695117_1_66056
updateAchievementCopyrightOwningComReqDto_1.setCopyrightObjectName(queryAchievementTeamMemberDetailComRespDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1695118_1_66056
    }

    /*D3回写成果版权归属对象信息(公共)[9233]   */
    Assert.isNull(updateAchievementCopyrightOwningComReqDto_1.getAchievementCopyrightOwningId(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-成果版权归属ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto_1.getCopyrightObjectId(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-版权归属对象ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto_1.getCopyrightObjectName(),"D3执行成果版权归属个人处理(公共)-D3回写成果版权归属对象信息(公共)-版权归属对象名称不能为空",false);
      updateAchievementCopyrightOwningComRespDto_1 = updateAchievementCopyrightOwningCom(updateAchievementCopyrightOwningComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
           }
      }
ImplementOutcomeCopyrightPersonalDisposeComRespDto retData = new ImplementOutcomeCopyrightPersonalDisposeComRespDto();





return retData;
  }
/**
   * D3批量改成果团队成员(公共)[9228]
   * gen by moon at 7/20/2024, 11:04:46 PM
   */
  @Trace(operationName = "D3批量改成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchUpdateAchievementTeamMemberComRespDto batchUpdateAchievementTeamMemberCom(BatchUpdateAchievementTeamMemberComReqDto reqDto){


      //步骤0: 3-10-06批量改成果团队成员 - batchUpdateAchievementTeamMember
     boolean bOOLEAN ;
    List<OmsAchievementTeamMember> listOmsAchievementTeamMember=new ArrayList<>();
  if(reqDto!= null&&  reqDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(reqDto.getAchievementTeamList())){
      listOmsAchievementTeamMember = reqDto.getAchievementTeamList().stream().map(item -> BeanUtil.toBean(item, OmsAchievementTeamMember.class)).collect(Collectors.toList());//objList-to-objLists//sourceId:1695078_1
    }

    /*3-10-06批量改成果团队成员[9229]   */

      bOOLEAN = mOmsAchievementTeamMemberService.batchUpdateAchievementTeamMember(listOmsAchievementTeamMember)/*vcase invoke 本地 method 方法调用;*/;




BatchUpdateAchievementTeamMemberComRespDto retData = new BatchUpdateAchievementTeamMemberComRespDto();





return retData;
  }
/**
   * D3执行成果发布(公共)[9230]
   * gen by moon at 5/9/2024, 6:37:06 PM
   */
  @Trace(operationName = "D3执行成果发布(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAchievementPublishComRespDto implementAchievementPublishCom(ImplementAchievementPublishComReqDto reqDto){


      //步骤0: D3修改成果(公共) - updateAchievementCom
     UpdateAchievementComRespDto updateAchievementComRespDto = null;
    UpdateAchievementComReqDto updateAchievementComReqDto=new UpdateAchievementComReqDto();
  updateAchievementComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1695081_1
if(reqDto!=null){
      updateAchievementComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695080_1
    }

    /*D3修改成果为当前有效[9212]   */
    Assert.isNull(updateAchievementComReqDto.getAchievementId(),"D3执行成果发布(公共)-D3修改成果为当前有效-成果ID不能为空",false);
Assert.isNull(updateAchievementComReqDto.getSubjectLifeCycle(),"D3执行成果发布(公共)-D3修改成果为当前有效-主体生命周期不能为空",false);
      updateAchievementComRespDto = updateAchievementCom(updateAchievementComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤1: D3执行成果版权归属发布生效(公共) - implementAchievementCopyrightOwnPublishCom
     ImplementAchievementCopyrightOwnPublishComRespDto implementAchievementCopyrightOwnPublishComRespDto = null;
    ImplementAchievementCopyrightOwnPublishComReqDto implementAchievementCopyrightOwnPublishComReqDto=new ImplementAchievementCopyrightOwnPublishComReqDto();
  if(reqDto!=null){
      implementAchievementCopyrightOwnPublishComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695238_1
    }

    /*D3执行成果版权归属发布生效(公共)[9235]   */
    Assert.isNull(implementAchievementCopyrightOwnPublishComReqDto.getAchievementId(),"D3执行成果发布(公共)-D3执行成果版权归属发布生效(公共)-成果ID不能为空",false);
      implementAchievementCopyrightOwnPublishComRespDto = implementAchievementCopyrightOwnPublishCom(implementAchievementCopyrightOwnPublishComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤2: D3执行成果团队成员发布生效(公共) - implementAchievementTeamMemberPublishCom
     ImplementAchievementTeamMemberPublishComRespDto implementAchievementTeamMemberPublishComRespDto = null;
    ImplementAchievementTeamMemberPublishComReqDto implementAchievementTeamMemberPublishComReqDto=new ImplementAchievementTeamMemberPublishComReqDto();
  if(reqDto!=null){
      implementAchievementTeamMemberPublishComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695203_1
    }

    /*D3执行成果团队成员发布生效(公共)[9236]   */
    Assert.isNull(implementAchievementTeamMemberPublishComReqDto.getAchievementId(),"D3执行成果发布(公共)-D3执行成果团队成员发布生效(公共)-成果ID不能为空",false);
      implementAchievementTeamMemberPublishComRespDto = implementAchievementTeamMemberPublishCom(implementAchievementTeamMemberPublishComReqDto)/*vcase invoke 同服务,同domain*/;




ImplementAchievementPublishComRespDto retData = new ImplementAchievementPublishComRespDto();





return retData;
  }
/**
   * D3修改成果版权归属(公共)[9233]
   * gen by moon at 4/4/2024, 10:14:07 AM
   */
  @Trace(operationName = "D3修改成果版权归属(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchievementCopyrightOwningComRespDto updateAchievementCopyrightOwningCom(UpdateAchievementCopyrightOwningComReqDto reqDto){


      //步骤0: 3-10-07修改成果版权归属 - updateAchievementCopyrightOwning
     boolean bOOLEAN ;
    OmsAchievementCopyrightOwning omsAchievementCopyrightOwning=new OmsAchievementCopyrightOwning();
  if(reqDto!=null){
      omsAchievementCopyrightOwning.setAchievementCopyrightOwningId(reqDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695099_1
omsAchievementCopyrightOwning.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1695101_1
omsAchievementCopyrightOwning.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1695107_1
omsAchievementCopyrightOwning.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1695102_1
omsAchievementCopyrightOwning.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1695104_1
omsAchievementCopyrightOwning.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695105_1
    }

    /*3-10-07修改成果版权归属[9130]   */
    Assert.isNull(omsAchievementCopyrightOwning.getAchievementCopyrightOwningId(),"D3修改成果版权归属(公共)-3-10-07修改成果版权归属-成果版权归属ID不能为空",false);
      bOOLEAN = mOmsAchievementCopyrightOwningService.updateAchievementCopyrightOwning(omsAchievementCopyrightOwning)/*vcase invoke 本地 method 方法调用;*/;




UpdateAchievementCopyrightOwningComRespDto retData = new UpdateAchievementCopyrightOwningComRespDto();





return retData;
  }
/**
   * D3修改成果版权归属(公共)[9235]
   * gen by moon at 7/18/2024, 9:05:11 PM
   */
  @Trace(operationName = "D3修改成果版权归属(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAchievementCopyrightOwnPublishComRespDto implementAchievementCopyrightOwnPublishCom(ImplementAchievementCopyrightOwnPublishComReqDto reqDto){


      //步骤0: D3查询成果版权归属详情(公共) - queryAchievementCopyrightOwningDetailCom
     QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
    QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto=new QueryAchievementCopyrightOwningDetailComReqDto();
queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1695206_1
if(reqDto!=null){
      queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695204_1
    }

    /*D3查询成果版权归属详情(公共)[9237]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(),"D3修改成果版权归属(公共)-D3查询成果版权归属详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(),"D3修改成果版权归属(公共)-D3查询成果版权归属详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningDetailComRespDto = queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto)/*vcase invoke 同服务,同domain*/;
      Assert.isTrue(queryAchievementCopyrightOwningDetailComRespDto== null||  queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId() ==null,"找不到数据，系统异常",false);



//步骤1: D3修改成果版权归属(公共) - updateAchievementCopyrightOwningCom
     UpdateAchievementCopyrightOwningComRespDto updateAchievementCopyrightOwningComRespDto = null;
    if(queryAchievementCopyrightOwningDetailComRespDto !=null){
          UpdateAchievementCopyrightOwningComReqDto updateAchievementCopyrightOwningComReqDto=new UpdateAchievementCopyrightOwningComReqDto();
if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      updateAchievementCopyrightOwningComReqDto.setAchievementCopyrightOwningId(queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695141_1
    }
if(reqDto!=null){
      updateAchievementCopyrightOwningComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695146_1
    }

    /*D3修改成果版权归属(公共)[9233]   */
    Assert.isNull(updateAchievementCopyrightOwningComReqDto.getAchievementCopyrightOwningId(),"D3修改成果版权归属(公共)-D3修改成果版权归属(公共)-成果版权归属ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto.getSubjectLifeCycle(),"D3修改成果版权归属(公共)-D3修改成果版权归属(公共)-主体生命周期不能为空",false);
      updateAchievementCopyrightOwningComRespDto = updateAchievementCopyrightOwningCom(updateAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;



           }

ImplementAchievementCopyrightOwnPublishComRespDto retData = new ImplementAchievementCopyrightOwnPublishComRespDto();





return retData;
  }
/**
   * D3修改成果团队成员(公共)[9236]
   * gen by moon at 7/18/2024, 9:05:19 PM
   */
  @Trace(operationName = "D3修改成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAchievementTeamMemberPublishComRespDto implementAchievementTeamMemberPublishCom(ImplementAchievementTeamMemberPublishComReqDto reqDto){


      //virtualUsage D3查询成果团队成员列表(公共)  66015
      QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
    QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto=new QueryAchievementTeamMemberListComReqDto();
queryAchievementTeamMemberListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1695182_1_66015
if(reqDto!=null){
      queryAchievementTeamMemberListComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695175_1_66015
    }

    /*D3查询成果团队成员列表(公共)[9208]   */
    Assert.isNull(queryAchievementTeamMemberListComReqDto.getAchievementId(),"D3修改成果团队成员(公共)-D3查询成果团队成员列表(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(),"D3修改成果团队成员(公共)-D3查询成果团队成员列表(公共)-创建于空间ID不能为空",false);
      queryAchievementTeamMemberListComRespDto = queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null && queryAchievementTeamMemberListComRespDto.getAchievementTeamList().size()>0)) {
        //if(D3查询成果团队成员列表(公共).成果团队列表数据集条数 大于 0)  66016

BatchUpdateAchievementTeamMemberComRespDto batchUpdateAchievementTeamMemberComRespDto = null;
    if(queryAchievementTeamMemberListComRespDto !=null){
          BatchUpdateAchievementTeamMemberComReqDto batchUpdateAchievementTeamMemberComReqDto=new BatchUpdateAchievementTeamMemberComReqDto();
  if(queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(queryAchievementTeamMemberListComRespDto.getAchievementTeamList())){
      batchUpdateAchievementTeamMemberComReqDto.setAchievementTeamList(//objList-to-objLists
        queryAchievementTeamMemberListComRespDto.getAchievementTeamList().stream().map(item -> {
      AchievementTeamDto elm = new AchievementTeamDto();
if(item!=null){
      elm.setAchievementTeamMemberId(item.getAchievementTeamMemberId());//SimpleFieldAssign//sourceId:333542_2_66020
    }
if(reqDto!=null){
      elm.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:333544_2_66020
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695193_1_66020
    }

    /*D3批量改成果团队成员(公共)[9228]   */

      batchUpdateAchievementTeamMemberComRespDto = batchUpdateAchievementTeamMemberCom(batchUpdateAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else{
       //else  66017

//异常结束 66018
      throw new BizException("3340000367","对不起，成果的团队成员还未添加~",false);
    }
ImplementAchievementTeamMemberPublishComRespDto retData = new ImplementAchievementTeamMemberPublishComRespDto();





return retData;
  }
/**
   * D3查询成果版权归属详情(公共)[9237]
   * gen by moon at 4/4/2024, 10:14:51 AM
   */
  @Trace(operationName = "D3查询成果版权归属详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailCom(QueryAchievementCopyrightOwningDetailComReqDto reqDto){


      OmsAchievementCopyrightOwning omsAchievementCopyrightOwning_1 =null;
//步骤0: 3-10-07查询成果版权归属详情 - queryAchievementCopyrightOwningDetail
     OmsAchievementCopyrightOwning omsAchievementCopyrightOwning = null;
    QueryAchievementCopyrightOwningDetailReq queryAchievementCopyrightOwningDetailReq=new QueryAchievementCopyrightOwningDetailReq();
  if(reqDto!=null){
      queryAchievementCopyrightOwningDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695147_1
queryAchievementCopyrightOwningDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1695152_1
queryAchievementCopyrightOwningDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695168_1
queryAchievementCopyrightOwningDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695154_1
    }

    /*3-10-07查询成果版权归属详情[9131]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailReq.getSpaceId(),"D3查询成果版权归属详情(公共)-3-10-07查询成果版权归属详情-创建于空间ID不能为空",false);
      omsAchievementCopyrightOwning = mOmsAchievementCopyrightOwningService.queryAchievementCopyrightOwningDetail(queryAchievementCopyrightOwningDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementCopyrightOwning_1 = omsAchievementCopyrightOwning;

QueryAchievementCopyrightOwningDetailComRespDto retData = new QueryAchievementCopyrightOwningDetailComRespDto();
  if(omsAchievementCopyrightOwning_1!=null){
      retData.setAchievementCopyrightOwningId(omsAchievementCopyrightOwning_1.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695170_1
retData.setAchievementId(omsAchievementCopyrightOwning_1.getAchievementId());//SimpleFieldAssign//sourceId:1695171_1
retData.setCopyrightObjectTypeCode(omsAchievementCopyrightOwning_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1695172_1
retData.setCopyrightObjectId(omsAchievementCopyrightOwning_1.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1695199_1
retData.setCopyrightObjectName(omsAchievementCopyrightOwning_1.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1695173_1
retData.setDutyDeptId(omsAchievementCopyrightOwning_1.getDutyDeptId());//SimpleFieldAssign//sourceId:1695174_1
    }




return retData;
  }
/**
   * D3查询成果版权归属列表(公共)[9252]
   * gen by moon at 4/7/2024, 9:02:29 AM
   */
  @Trace(operationName = "D3查询成果版权归属列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementCopyrightOwningListComRespDto queryAchievementCopyrightOwningListCom(QueryAchievementCopyrightOwningListComReqDto reqDto){


      List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning_1 =new ArrayList<>();
//步骤0: 3-10-07查询成果版权归属列表 - queryAchievementCopyrightOwningList
     List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning =new ArrayList<>();
    QueryAchievementCopyrightOwningListReq queryAchievementCopyrightOwningListReq=new QueryAchievementCopyrightOwningListReq();
  if(reqDto!=null){
      queryAchievementCopyrightOwningListReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1695745_1
queryAchievementCopyrightOwningListReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1708302_1
queryAchievementCopyrightOwningListReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1695746_1
queryAchievementCopyrightOwningListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695747_1
queryAchievementCopyrightOwningListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695748_1
    }

    /*3-10-07查询成果版权归属列表[9253]   */

      listOmsAchievementCopyrightOwning = mOmsAchievementCopyrightOwningService.queryAchievementCopyrightOwningList(queryAchievementCopyrightOwningListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementCopyrightOwning_1 = listOmsAchievementCopyrightOwning;

QueryAchievementCopyrightOwningListComRespDto retData = new QueryAchievementCopyrightOwningListComRespDto();
  retData.setAchievementCopyrightOwningList(listOmsAchievementCopyrightOwning_1.stream().map(item -> BeanUtil.toBean(item, AchievementCopyrightOwningDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695754_1




return retData;
  }
/**
   * D3批量删成果团队成员(公共)[9243]
   * gen by moon at 4/5/2024, 9:36:40 PM
   */
  @Trace(operationName = "D3批量删成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchDeleteAchievementTeamMemberComRespDto batchDeleteAchievementTeamMemberCom(BatchDeleteAchievementTeamMemberComReqDto reqDto){


      //步骤0: 3-10-06批量删成果团队成员 - batchDeleteAchievementTeamMember
     boolean bOOLEAN ;
    List<String> listString=new ArrayList<>();
  if(reqDto!=null){
      listString=reqDto.getAchievementTeamList();;//list-field-assign//sourceId:1695245_1
    }

    /*3-10-06批量删成果团队成员[9143]   */

      bOOLEAN = mOmsAchievementTeamMemberService.batchDeleteAchievementTeamMember(listString)/*vcase invoke 本地 method 方法调用;*/;




BatchDeleteAchievementTeamMemberComRespDto retData = new BatchDeleteAchievementTeamMemberComRespDto();





return retData;
  }
/**
   * D3删除成果版权归属(公共)[9239]
   * gen by moon at 4/5/2024, 9:07:45 PM
   */
  @Trace(operationName = "D3删除成果版权归属(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementCopyrightOwningComRespDto deleteAchievementCopyrightOwningCom(DeleteAchievementCopyrightOwningComReqDto reqDto){


      //步骤0: 3-10-07删除成果版权归属 - deleteAchievementCopyrightOwning
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementCopyrightOwningId();;//SimpleFieldAssign//sourceId:1695216_1
    }

    /*3-10-07删除成果版权归属[9215]   */
    Assert.isNull(string,"D3删除成果版权归属(公共)-3-10-07删除成果版权归属-成果版权归属ID不能为空",false);
      bOOLEAN = mOmsAchievementCopyrightOwningService.deleteAchievementCopyrightOwning(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementCopyrightOwningComRespDto retData = new DeleteAchievementCopyrightOwningComRespDto();





return retData;
  }
/**
   * D3查询对接成果关系列表(公共)[9146]
   * gen by moon at 7/19/2024, 12:05:02 AM
   */
  @Trace(operationName = "D3查询对接成果关系列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementDockingListComRespDto queryAchievementDockingListCom(QueryAchievementDockingListComReqDto reqDto){


      List<OmsAchievementDocking> listOmsAchievementDocking_1 =new ArrayList<>();
//步骤0: 3-10-08查询对接成果关系列表 - queryAchievementDockingList
     List<OmsAchievementDocking> listOmsAchievementDocking =new ArrayList<>();
    QueryAchievementDockingListReq queryAchievementDockingListReq=new QueryAchievementDockingListReq();
  if(reqDto!=null){
      queryAchievementDockingListReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1937590_1
      queryAchievementDockingListReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1696984_1
queryAchievementDockingListReq.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1696985_1
queryAchievementDockingListReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1696986_1
queryAchievementDockingListReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1696987_1
queryAchievementDockingListReq.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1692546_1
queryAchievementDockingListReq.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1692547_1
queryAchievementDockingListReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1692548_1
queryAchievementDockingListReq.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1692549_1
queryAchievementDockingListReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1692550_1
queryAchievementDockingListReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1692551_1
queryAchievementDockingListReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1692552_1
queryAchievementDockingListReq.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1692553_1
queryAchievementDockingListReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1692554_1
queryAchievementDockingListReq.setDutyDeptName(reqDto.getDutyDeptName());//SimpleFieldAssign//sourceId:1692555_1
queryAchievementDockingListReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1692556_1
queryAchievementDockingListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1692557_1
queryAchievementDockingListReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1692558_1
queryAchievementDockingListReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1692559_1
queryAchievementDockingListReq.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1692560_1
queryAchievementDockingListReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1692561_1
queryAchievementDockingListReq.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1696686_1
queryAchievementDockingListReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1692562_1
queryAchievementDockingListReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1696500_1
queryAchievementDockingListReq.setAchievementBelongBodyId(reqDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1696501_1
queryAchievementDockingListReq.setEvaPortraitTargetSubCycleId(reqDto.getEvaPortraitTargetSubCycleId());//SimpleFieldAssign//sourceId:1814073_1
queryAchievementDockingListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1692563_1
queryAchievementDockingListReq.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1692564_1
queryAchievementDockingListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1692565_1
queryAchievementDockingListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1692566_1
queryAchievementDockingListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1692567_1
    }

    /*3-10-08查询对接成果关系列表[9134]   */
    Assert.isNull(queryAchievementDockingListReq.getSpaceId(),"D3查询对接成果关系列表(公共)-3-10-08查询对接成果关系列表-创建于空间ID不能为空",false);
      listOmsAchievementDocking = mOmsAchievementDockingService.queryAchievementDockingList(queryAchievementDockingListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementDocking_1 = listOmsAchievementDocking;

QueryAchievementDockingListComRespDto retData = new QueryAchievementDockingListComRespDto();
  retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1696491_1




return retData;
  }
/**
   * D3批量改成果团队成员排序(公共)[9232]
   * gen by moon at 4/5/2024, 9:08:27 PM
   */
  @Trace(operationName = "D3批量改成果团队成员排序(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchUpdateAchievementTeamMemberSortComRespDto batchUpdateAchievementTeamMemberSortCom(BatchUpdateAchievementTeamMemberSortComReqDto reqDto){


      //步骤0: D3批量改成果团队成员(公共) - batchUpdateAchievementTeamMemberCom
     BatchUpdateAchievementTeamMemberComRespDto batchUpdateAchievementTeamMemberComRespDto = null;
    BatchUpdateAchievementTeamMemberComReqDto batchUpdateAchievementTeamMemberComReqDto=new BatchUpdateAchievementTeamMemberComReqDto();
  if(reqDto!= null&&  reqDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(reqDto.getAchievementTeamList())){
      batchUpdateAchievementTeamMemberComReqDto.setAchievementTeamList(reqDto.getAchievementTeamList().stream().map(item -> BeanUtil.toBean(item, AchievementTeamDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695093_1
    }

    /*D3批量改成果团队成员(公共)[9228]   */

      batchUpdateAchievementTeamMemberComRespDto = batchUpdateAchievementTeamMemberCom(batchUpdateAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤1: D3执行成果版权归属个人处理(公共) - implementOutcomeCopyrightPersonalDisposeCom
     ImplementOutcomeCopyrightPersonalDisposeComRespDto implementOutcomeCopyrightPersonalDisposeComRespDto = null;
    ImplementOutcomeCopyrightPersonalDisposeComReqDto implementOutcomeCopyrightPersonalDisposeComReqDto=new ImplementOutcomeCopyrightPersonalDisposeComReqDto();
  if(reqDto!=null){
      implementOutcomeCopyrightPersonalDisposeComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1696137_1
implementOutcomeCopyrightPersonalDisposeComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696138_1
    }

    /*D3执行成果版权归属个人处理(公共)[9223]   */
    Assert.isNull(implementOutcomeCopyrightPersonalDisposeComReqDto.getAchievementId(),"D3批量改成果团队成员排序(公共)-D3执行成果版权归属个人处理(公共)-成果ID不能为空",false);
Assert.isNull(implementOutcomeCopyrightPersonalDisposeComReqDto.getSpaceId(),"D3批量改成果团队成员排序(公共)-D3执行成果版权归属个人处理(公共)-创建于空间ID不能为空",false);
      implementOutcomeCopyrightPersonalDisposeComRespDto = implementOutcomeCopyrightPersonalDisposeCom(implementOutcomeCopyrightPersonalDisposeComReqDto)/*vcase invoke 同服务,同domain*/;




BatchUpdateAchievementTeamMemberSortComRespDto retData = new BatchUpdateAchievementTeamMemberSortComRespDto();





return retData;
  }
/**
   * D3删除成果业务处理(公共)[9238]
   * gen by moon at 7/20/2024, 8:42:43 PM
   */
  @Trace(operationName = "D3删除成果业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementBusinessHandleComRespDto deleteAchievementBusinessHandleCom(DeleteAchievementBusinessHandleComReqDto reqDto){


//virtualUsage D3删除成果版权归属业务处理(公共)  66064
      DeleteAchievementCopyrightOwningBusinessHandleComRespDto deleteAchievementCopyrightOwningBusinessHandleComRespDto = null;
    DeleteAchievementCopyrightOwningBusinessHandleComReqDto deleteAchievementCopyrightOwningBusinessHandleComReqDto=new DeleteAchievementCopyrightOwningBusinessHandleComReqDto();
  if(reqDto!=null){
      deleteAchievementCopyrightOwningBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695951_1_66064
deleteAchievementCopyrightOwningBusinessHandleComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695952_1_66064
    }

    /*D3删除成果版权归属业务处理(公共)[9261]   */
    Assert.isNull(deleteAchievementCopyrightOwningBusinessHandleComReqDto.getAchievementId(),"D3删除成果业务处理(公共)-D3删除成果版权归属业务处理(公共)-成果ID不能为空",false);
Assert.isNull(deleteAchievementCopyrightOwningBusinessHandleComReqDto.getSpaceId(),"D3删除成果业务处理(公共)-D3删除成果版权归属业务处理(公共)-创建于空间ID不能为空",false);
      deleteAchievementCopyrightOwningBusinessHandleComRespDto = deleteAchievementCopyrightOwningBusinessHandleCom(deleteAchievementCopyrightOwningBusinessHandleComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3删除成果团队成员业务处理(公共)  66068
      DeleteOutcomeTeamMembBusinessHandleComRespDto deleteOutcomeTeamMembBusinessHandleComRespDto = null;
    DeleteOutcomeTeamMembBusinessHandleComReqDto deleteOutcomeTeamMembBusinessHandleComReqDto=new DeleteOutcomeTeamMembBusinessHandleComReqDto();
  if(reqDto!=null){
      deleteOutcomeTeamMembBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695966_1_66068
deleteOutcomeTeamMembBusinessHandleComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695967_1_66068
    }

    /*D3删除成果团队成员业务处理(公共)[9262]   */
    Assert.isNull(deleteOutcomeTeamMembBusinessHandleComReqDto.getAchievementId(),"D3删除成果业务处理(公共)-D3删除成果团队成员业务处理(公共)-成果ID不能为空",false);
Assert.isNull(deleteOutcomeTeamMembBusinessHandleComReqDto.getSpaceId(),"D3删除成果业务处理(公共)-D3删除成果团队成员业务处理(公共)-创建于空间ID不能为空",false);
      deleteOutcomeTeamMembBusinessHandleComRespDto = deleteOutcomeTeamMembBusinessHandleCom(deleteOutcomeTeamMembBusinessHandleComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3删除成果(公共)  66031
      DeleteAchievementComRespDto deleteAchievementComRespDto = null;
    DeleteAchievementComReqDto deleteAchievementComReqDto=new DeleteAchievementComReqDto();
  if(reqDto!=null){
      deleteAchievementComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695202_1_66031
    }

    /*D3删除成果(公共)[9211]   */
    Assert.isNull(deleteAchievementComReqDto.getAchievementId(),"D3删除成果业务处理(公共)-D3删除成果(公共)-成果ID不能为空",false);
      deleteAchievementComRespDto = deleteAchievementCom(deleteAchievementComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3删除成果文档关系业务处理(公共)  66073
      DeleteAchUnstrRelBizProComRespDto deleteAchUnstrRelBizProComRespDto = null;
    DeleteAchUnstrRelBizProComReqDto deleteAchUnstrRelBizProComReqDto=new DeleteAchUnstrRelBizProComReqDto();
  deleteAchUnstrRelBizProComReqDto.setDocUseSceneCode("ACHIVEMENT");//sourceId:1696191_1_66073
if(reqDto!=null){
      deleteAchUnstrRelBizProComReqDto.setOwnEntityId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1696192_1_66073
deleteAchUnstrRelBizProComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696193_1_66073
    }

    /*D3删除成果文档关系业务处理(公共)[9269]   */
    Assert.isNull(deleteAchUnstrRelBizProComReqDto.getDocUseSceneCode(),"D3删除成果业务处理(公共)-D3删除成果文档关系业务处理(公共)-文档应用业务场景不能为空",false);
Assert.isNull(deleteAchUnstrRelBizProComReqDto.getOwnEntityId(),"D3删除成果业务处理(公共)-D3删除成果文档关系业务处理(公共)-归属内容表主键ID不能为空",false);
Assert.isNull(deleteAchUnstrRelBizProComReqDto.getSpaceId(),"D3删除成果业务处理(公共)-D3删除成果文档关系业务处理(公共)-创建于空间ID不能为空",false);
      deleteAchUnstrRelBizProComRespDto = unstructuredDataService.deleteAchUnstrRelBizProCom(deleteAchUnstrRelBizProComReqDto)/*vcase invoke isSameApp*/;



DeleteAchievementBusinessHandleComRespDto retData = new DeleteAchievementBusinessHandleComRespDto();





return retData;
  }
/**
   * D3删除成果版权归属业务处理(公共)[9261]
   * gen by moon at 4/5/2024, 9:09:00 PM
   */
  @Trace(operationName = "D3删除成果版权归属业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementCopyrightOwningBusinessHandleComRespDto deleteAchievementCopyrightOwningBusinessHandleCom(DeleteAchievementCopyrightOwningBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询成果版权归属详情(公共)  66060
      QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
    QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto=new QueryAchievementCopyrightOwningDetailComReqDto();
  queryAchievementCopyrightOwningDetailComReqDto.setSubjectLifeCycle("EDITING");//sourceId:1695940_1_66060
if(reqDto!=null){
      queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695937_1_66060
queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695939_1_66060
    }

    /*D3查询成果版权归属详情(公共)[9237]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(),"D3删除成果版权归属业务处理(公共)-D3查询成果版权归属详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSubjectLifeCycle(),"D3删除成果版权归属业务处理(公共)-D3查询成果版权归属详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(),"D3删除成果版权归属业务处理(公共)-D3查询成果版权归属详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningDetailComRespDto = queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementCopyrightOwningDetailComRespDto!= null&& queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId() == null )) {
        //if(D3查询成果版权归属详情(公共).成果版权归属ID 值等于空 )  66061

//异常结束 66062
      throw new BizException("C00028","对不起，没有数据！！",false);
      }
//virtualUsage D3删除成果版权归属(公共)  66063
      DeleteAchievementCopyrightOwningComRespDto deleteAchievementCopyrightOwningComRespDto = null;
    if(queryAchievementCopyrightOwningDetailComRespDto !=null){
          DeleteAchievementCopyrightOwningComReqDto deleteAchievementCopyrightOwningComReqDto=new DeleteAchievementCopyrightOwningComReqDto();
  if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      deleteAchievementCopyrightOwningComReqDto.setAchievementCopyrightOwningId(queryAchievementCopyrightOwningDetailComRespDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1695950_1_66063
    }

    /*D3删除成果版权归属(公共)[9239]   */
    Assert.isNull(deleteAchievementCopyrightOwningComReqDto.getAchievementCopyrightOwningId(),"D3删除成果版权归属业务处理(公共)-D3删除成果版权归属(公共)-成果版权归属ID不能为空",false);
      deleteAchievementCopyrightOwningComRespDto = deleteAchievementCopyrightOwningCom(deleteAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;



           }
DeleteAchievementCopyrightOwningBusinessHandleComRespDto retData = new DeleteAchievementCopyrightOwningBusinessHandleComRespDto();





return retData;
  }
/**
   * D3删除成果团队成员业务处理(公共)[9262]
   * gen by moon at 5/13/2024, 12:26:32 AM
   */
  @Trace(operationName = "D3删除成果团队成员业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteOutcomeTeamMembBusinessHandleComRespDto deleteOutcomeTeamMembBusinessHandleCom(DeleteOutcomeTeamMembBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询成果团队成员列表(公共)  66065
      QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
    QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto=new QueryAchievementTeamMemberListComReqDto();
  queryAchievementTeamMemberListComReqDto.setSubjectLifeCycle("EDITING");//sourceId:1695959_1_66065
if(reqDto!=null){
      queryAchievementTeamMemberListComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1695953_1_66065
queryAchievementTeamMemberListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695960_1_66065
    }

    /*D3查询成果团队成员列表(公共)[9208]   */
    Assert.isNull(queryAchievementTeamMemberListComReqDto.getAchievementId(),"D3删除成果团队成员业务处理(公共)-D3查询成果团队成员列表(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSubjectLifeCycle(),"D3删除成果团队成员业务处理(公共)-D3查询成果团队成员列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(),"D3删除成果团队成员业务处理(公共)-D3查询成果团队成员列表(公共)-创建于空间ID不能为空",false);
      queryAchievementTeamMemberListComRespDto = queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null && queryAchievementTeamMemberListComRespDto.getAchievementTeamList().size()>0)) {
        //if(D3查询成果团队成员列表(公共).成果团队列表数据集条数 大于 0)  66066

BatchDeleteAchievementTeamMemberComRespDto batchDeleteAchievementTeamMemberComRespDto = null;
    if(queryAchievementTeamMemberListComRespDto !=null){
          BatchDeleteAchievementTeamMemberComReqDto batchDeleteAchievementTeamMemberComReqDto=new BatchDeleteAchievementTeamMemberComReqDto();
  if(queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(queryAchievementTeamMemberListComRespDto.getAchievementTeamList())){
      batchDeleteAchievementTeamMemberComReqDto.setAchievementTeamList(queryAchievementTeamMemberListComRespDto.getAchievementTeamList().stream().map(item->item.getAchievementTeamMemberId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1695962_1_66067
    }

    /*D3批量删成果团队成员(公共)[9243]   */

      batchDeleteAchievementTeamMemberComRespDto = batchDeleteAchievementTeamMemberCom(batchDeleteAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
DeleteOutcomeTeamMembBusinessHandleComRespDto retData = new DeleteOutcomeTeamMembBusinessHandleComRespDto();





return retData;
  }
/**
   * D3批量查询成果类型及等级等信息(公共)[9264]
   * gen by moon at 6/23/2024, 2:27:37 AM
   */
  @Trace(operationName = "D3批量查询成果类型及等级等信息(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoCom(BatchQueryAchievementTypeAndLevelEtcInfoComReqDto reqDto){


      ImplementReceiveAchievementFieldRespDto receptionServiceRes_1 =null;
BatchQueryAchievementTypeByEntityComRespDto batchQueryAchievementTypeByEntityComRespDto_1 =null;
BatchQueryAchievementCategoryByEntityComRespDto batchQueryAchievementCategoryByEntityComRespDto_1 =null;
BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto_1 =null;
BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto_3 =null;
//virtualUsage M3接收成果数据集入参  66069
      //ModelCode: receptionService
        ImplementReceiveAchievementFieldRespDto receptionServiceRes = null;
    ImplementReceiveAchievementFieldReqDto receptionServiceReq=new ImplementReceiveAchievementFieldReqDto();
  if(reqDto!= null&&  reqDto.getAchievementInfoList() !=null&& !CollectionUtil.isEmpty(reqDto.getAchievementInfoList())){
      receptionServiceReq.setAchievementInfoList(reqDto.getAchievementInfoList().stream().map(item -> BeanUtil.toBean(item, AchievementInfoDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1785762_1_66069
    }
if(reqDto!=null){
      receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696131_1_66069
    }

    /*M3接收成果数据集入参[9159]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getSpaceId(),"D3批量查询成果类型及等级等信息(公共)-M3接收成果数据集入参-创建于空间ID不能为空",false);
      receptionServiceRes = nbAchievement.implementReceiveAchievementField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
//virtualUsage D3批量查询成果类型By主键(公共)  66071
      BatchQueryAchievementTypeByEntityComRespDto batchQueryAchievementTypeByEntityComRespDto = null;
    BatchQueryAchievementTypeByEntityComReqDto batchQueryAchievementTypeByEntityComReqDto=new BatchQueryAchievementTypeByEntityComReqDto();
  batchQueryAchievementTypeByEntityComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1696120_1_66071
if(receptionServiceRes!= null&&  receptionServiceRes.getAchievementInfoList() !=null&& !CollectionUtil.isEmpty(receptionServiceRes.getAchievementInfoList())){
      batchQueryAchievementTypeByEntityComReqDto.setAchievementTypeList(receptionServiceRes.getAchievementInfoList().stream().map(item->item.getAchievementTypeId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1696117_1_66071
    }
if(reqDto!=null){
      batchQueryAchievementTypeByEntityComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696121_1_66071
    }

    /*D3批量查询成果类型By主键(公共)[9265]   */
    Assert.isNull(batchQueryAchievementTypeByEntityComReqDto.getSubjectLifeCycle(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果类型By主键(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQueryAchievementTypeByEntityComReqDto.getSpaceId(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果类型By主键(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementTypeByEntityComRespDto = batchQueryAchievementTypeByEntityCom(batchQueryAchievementTypeByEntityComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementTypeByEntityComRespDto_1 = batchQueryAchievementTypeByEntityComRespDto;
//virtualUsage D3批量查询成果类别By主键(公共)  66072
      BatchQueryAchievementCategoryByEntityComRespDto batchQueryAchievementCategoryByEntityComRespDto = null;
    BatchQueryAchievementCategoryByEntityComReqDto batchQueryAchievementCategoryByEntityComReqDto=new BatchQueryAchievementCategoryByEntityComReqDto();
  batchQueryAchievementCategoryByEntityComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1696128_1_66072
if(receptionServiceRes!= null&&  receptionServiceRes.getAchievementInfoList() !=null&& !CollectionUtil.isEmpty(receptionServiceRes.getAchievementInfoList())){
      batchQueryAchievementCategoryByEntityComReqDto.setAchievementCategoryList(receptionServiceRes.getAchievementInfoList().stream().map(item->item.getAchievementCategoryId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1696123_1_66072
    }
if(reqDto!=null){
      batchQueryAchievementCategoryByEntityComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696129_1_66072
    }

    /*D3批量查询成果类别By主键(公共)[9266]   */
    Assert.isNull(batchQueryAchievementCategoryByEntityComReqDto.getSubjectLifeCycle(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果类别By主键(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQueryAchievementCategoryByEntityComReqDto.getSpaceId(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果类别By主键(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementCategoryByEntityComRespDto = batchQueryAchievementCategoryByEntityCom(batchQueryAchievementCategoryByEntityComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementCategoryByEntityComRespDto_1 = batchQueryAchievementCategoryByEntityComRespDto;
//virtualUsage D3批量查询成果等级By主键(公共)  66070
      BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto = null;
    BatchQueryAchievementGradeByEntityComReqDto batchQueryAchievementGradeByEntityComReqDto=new BatchQueryAchievementGradeByEntityComReqDto();
  batchQueryAchievementGradeByEntityComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1696114_1_66070
if(receptionServiceRes!= null&&  receptionServiceRes.getAchievementInfoList() !=null&& !CollectionUtil.isEmpty(receptionServiceRes.getAchievementInfoList())){
      batchQueryAchievementGradeByEntityComReqDto.setAchievementGradeList(receptionServiceRes.getAchievementInfoList().stream().map(item->item.getAchievementGradeId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1696112_1_66070
    }
if(reqDto!=null){
      batchQueryAchievementGradeByEntityComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696115_1_66070
    }

    /*D3批量查询成果等级By主键(公共)[9168]   */
    Assert.isNull(batchQueryAchievementGradeByEntityComReqDto.getSubjectLifeCycle(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果等级By主键(公共)-主体生命周期不能为空",false);
Assert.isNull(batchQueryAchievementGradeByEntityComReqDto.getSpaceId(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果等级By主键(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementGradeByEntityComRespDto = batchQueryAchievementGradeByEntityCom(batchQueryAchievementGradeByEntityComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementGradeByEntityComRespDto_1 = batchQueryAchievementGradeByEntityComRespDto;
//virtualUsage D3批量查询成果业务等级By主键(公共)  70625
      BatchQueryAchievementGradeByEntityComRespDto batchQueryAchievementGradeByEntityComRespDto_2 = null;
    BatchQueryAchievementGradeByEntityComReqDto batchQueryAchievementGradeByEntityComReqDto_1=new BatchQueryAchievementGradeByEntityComReqDto();
  if(receptionServiceRes!= null&&  receptionServiceRes.getAchievementInfoList() !=null&& !CollectionUtil.isEmpty(receptionServiceRes.getAchievementInfoList())){
      batchQueryAchievementGradeByEntityComReqDto_1.setAchievementGradeList(receptionServiceRes.getAchievementInfoList().stream().map(item->item.getAchievementBusinessGradeId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1887333_1_70625
    }
if(reqDto!=null){
      batchQueryAchievementGradeByEntityComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1887336_1_70625
    }

    /*D3批量查询成果业务等级By主键(公共)[9168]   */
    Assert.isNull(batchQueryAchievementGradeByEntityComReqDto_1.getSpaceId(),"D3批量查询成果类型及等级等信息(公共)-D3批量查询成果业务等级By主键(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementGradeByEntityComRespDto_2 = batchQueryAchievementGradeByEntityCom(batchQueryAchievementGradeByEntityComReqDto_1)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementGradeByEntityComRespDto_3 = batchQueryAchievementGradeByEntityComRespDto_2;
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto retData = new BatchQueryAchievementTypeAndLevelEtcInfoComRespDto();
  //数据集融合  MoreListToOneSource
        if(receptionServiceRes_1!= null && !CollectionUtil.isEmpty(receptionServiceRes_1.getAchievementInfoList()) ){
          for (AchievementInfoDto achievementInfoDto : receptionServiceRes_1.getAchievementInfoList()) {
              AchievementInfoDto retElm = new AchievementInfoDto();
             if(receptionServiceRes_1!=null){
      retElm.setAchievementId(achievementInfoDto.getAchievementId());//SimpleFieldAssign//sourceId:360689_2
retElm.setAchievementTypeId(achievementInfoDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:360686_2
retElm.setAchievementCategoryId(achievementInfoDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:360687_2
retElm.setAchievementGradeId(achievementInfoDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:360688_2
retElm.setAchievementBusinessGradeId(achievementInfoDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:378915_2
    }
              retData.getAchievementInfoList().add(retElm);
               if(batchQueryAchievementTypeByEntityComRespDto_1!= null){
          for (AchievementTypeDto achievementTypeDto : batchQueryAchievementTypeByEntityComRespDto_1.getAchievementTypeList()) {
                if (achievementTypeDto.getAchievementTypeId().equals(achievementInfoDto.getAchievementTypeId())) {
               if(batchQueryAchievementTypeByEntityComRespDto_1!= null){
      retElm.setAchievementTypeNumber(achievementTypeDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:360690_2
retElm.setAchievementTypeName(achievementTypeDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:360691_2
retElm.setBelongName(achievementTypeDto.getBelongName());//SimpleFieldAssign//sourceId:360692_2
    }
                }
            }
          }

 if(batchQueryAchievementCategoryByEntityComRespDto_1!= null){
          for (AchievementCategoryDto achievementCategoryDto : batchQueryAchievementCategoryByEntityComRespDto_1.getAchievementCategoryList()) {
                if (achievementCategoryDto.getAchievementCategoryId().equals(achievementInfoDto.getAchievementCategoryId())) {
                 if(batchQueryAchievementCategoryByEntityComRespDto_1!=null){
      retElm.setAchievementCategoryNumber(achievementCategoryDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:360693_2
retElm.setAchievementCategoryName(achievementCategoryDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:360694_2
    }
                }
            }
          }

 if(batchQueryAchievementGradeByEntityComRespDto_1!= null){
          for (AchievementGradeDto achievementGradeDto : batchQueryAchievementGradeByEntityComRespDto_1.getAchievementGradeList()) {
                if (achievementGradeDto.getAchievementGradeId().equals(achievementInfoDto.getAchievementGradeId())) {
                 if(batchQueryAchievementGradeByEntityComRespDto_1!=null){
      retElm.setAchievementGradeNumber(achievementGradeDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:360695_2
retElm.setAchievementGradeName(achievementGradeDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:360696_2
    }
                }
            }
          }

 if(batchQueryAchievementGradeByEntityComRespDto_3!= null){
          for (AchievementGradeDto achievementGradeDto : batchQueryAchievementGradeByEntityComRespDto_3.getAchievementGradeList()) {
                if (achievementGradeDto.getAchievementGradeId().equals(achievementInfoDto.getAchievementBusinessGradeId())) {
                 if(batchQueryAchievementGradeByEntityComRespDto_3!=null){
      retElm.setAchievementBusinessGradeNumber(achievementGradeDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:378916_2
retElm.setAchievementBusinessGradeName(achievementGradeDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:378917_2
    }
                }
            }
          }

          }
        }//sourceId:1785764_1




return retData;
  }
/**
   * D3批量查询成果类型By主键(公共)[9265]
   * gen by moon at 4/5/2024, 9:09:50 PM
   */
  @Trace(operationName = "D3批量查询成果类型By主键(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementTypeByEntityComRespDto batchQueryAchievementTypeByEntityCom(BatchQueryAchievementTypeByEntityComReqDto reqDto){


      List<OmsAchievementType> listOmsAchievementType_1 =new ArrayList<>();
//步骤0: 3-10-02批量查询成果类型By主键 - batchQueryAchievementTypeByEntity
     List<OmsAchievementType> listOmsAchievementType =new ArrayList<>();
    BatchQueryAchievementTypeByEntityReq batchQueryAchievementTypeByEntityReq=new BatchQueryAchievementTypeByEntityReq();
  if(reqDto!=null){
      batchQueryAchievementTypeByEntityReq.setAchievementTypeList(reqDto.getAchievementTypeList());//list-field-assign//sourceId:1696076_1
batchQueryAchievementTypeByEntityReq.setIsStandard(reqDto.getIsStandard());//SimpleFieldAssign//sourceId:1696077_1
batchQueryAchievementTypeByEntityReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1696078_1
batchQueryAchievementTypeByEntityReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1696079_1
batchQueryAchievementTypeByEntityReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696080_1
    }

    /*3-10-02批量查询成果类型By主键[9267]   */

      listOmsAchievementType = mOmsAchievementTypeService.batchQueryAchievementTypeByEntity(batchQueryAchievementTypeByEntityReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementType_1 = listOmsAchievementType;

BatchQueryAchievementTypeByEntityComRespDto retData = new BatchQueryAchievementTypeByEntityComRespDto();
  retData.setAchievementTypeList(listOmsAchievementType_1.stream().map(item -> BeanUtil.toBean(item, AchievementTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1696087_1




return retData;
  }
/**
   * D3批量查询成果类别By主键(公共)[9266]
   * gen by moon at 4/5/2024, 9:10:06 PM
   */
  @Trace(operationName = "D3批量查询成果类别By主键(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementCategoryByEntityComRespDto batchQueryAchievementCategoryByEntityCom(BatchQueryAchievementCategoryByEntityComReqDto reqDto){


      List<OmsAchievementCategory> listOmsAchievementCategory_1 =new ArrayList<>();
//步骤0: 3-10-03批量查询成果类别By主键 - batchQueryAchievementCategoryByEntity
     List<OmsAchievementCategory> listOmsAchievementCategory =new ArrayList<>();
    BatchQueryAchievementCategoryByEntityReq batchQueryAchievementCategoryByEntityReq=new BatchQueryAchievementCategoryByEntityReq();
  if(reqDto!=null){
      batchQueryAchievementCategoryByEntityReq.setAchievementCategoryList(reqDto.getAchievementCategoryList());//list-field-assign//sourceId:1696096_1
batchQueryAchievementCategoryByEntityReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1696098_1
batchQueryAchievementCategoryByEntityReq.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1696099_1
batchQueryAchievementCategoryByEntityReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1696100_1
batchQueryAchievementCategoryByEntityReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1696101_1
batchQueryAchievementCategoryByEntityReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696102_1
    }

    /*3-10-03批量查询成果类别By主键[9268]   */

      listOmsAchievementCategory = mOmsAchievementCategoryService.batchQueryAchievementCategoryByEntity(batchQueryAchievementCategoryByEntityReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementCategory_1 = listOmsAchievementCategory;

BatchQueryAchievementCategoryByEntityComRespDto retData = new BatchQueryAchievementCategoryByEntityComRespDto();
  retData.setAchievementCategoryList(listOmsAchievementCategory_1.stream().map(item -> BeanUtil.toBean(item, AchievementCategoryDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1696111_1




return retData;
  }
/**
   * D3批量查询对接成果关系by一级指标(公共)[9272]
   * gen by moon at 4/5/2024, 9:10:35 PM
   */
  @Trace(operationName = "D3批量查询对接成果关系by一级指标(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementDockingByRootObjectiveIdComRespDto batchQueryAchievementDockingByRootObjectiveIdCom(BatchQueryAchievementDockingByRootObjectiveIdComReqDto reqDto){


      //步骤0: 3-10-08批量查询对接成果关系by一级指标 - batchQueryAchievementDockingByRootObjectiveId
     List<OmsAchievementDocking> listOmsAchievementDocking =new ArrayList<>();
    BatchQueryAchievementDockingByRootObjectiveIdReq batchQueryAchievementDockingByRootObjectiveIdReq=new BatchQueryAchievementDockingByRootObjectiveIdReq();
  if(reqDto!=null){
      batchQueryAchievementDockingByRootObjectiveIdReq.setAchievementDockingList(reqDto.getAchievementDockingList());//list-field-assign//sourceId:1696204_1
batchQueryAchievementDockingByRootObjectiveIdReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1696205_1
batchQueryAchievementDockingByRootObjectiveIdReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1696206_1
batchQueryAchievementDockingByRootObjectiveIdReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1696207_1
batchQueryAchievementDockingByRootObjectiveIdReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1696208_1
batchQueryAchievementDockingByRootObjectiveIdReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1696209_1
batchQueryAchievementDockingByRootObjectiveIdReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1696210_1
    }

    /*3-10-08批量查询对接成果关系by一级指标[9271]   */

      listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryAchievementDockingByRootObjectiveId(batchQueryAchievementDockingByRootObjectiveIdReq)/*vcase invoke 本地 method 方法调用;*/;




BatchQueryAchievementDockingByRootObjectiveIdComRespDto retData = new BatchQueryAchievementDockingByRootObjectiveIdComRespDto();





return retData;
  }
/**
   * D3新增对接成果关系(公共)[9290]
   * gen by moon at 8/15/2024, 10:49:38 PM
   */
  @Trace(operationName = "D3新增对接成果关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementDockingComRespDto addAchievementDockingCom(AddAchievementDockingComReqDto reqDto){


      String string_1 =null;
//virtualUsage 3-10-08查询对接成果关系详情  72180
      OmsAchievementDocking omsAchievementDocking = null;
    QueryAchievementDockingDetailReq queryAchievementDockingDetailReq=new QueryAchievementDockingDetailReq();
  queryAchievementDockingDetailReq.setIsArchive("FALSE");//sourceId:1970924_1_72180
if(reqDto!=null){
      queryAchievementDockingDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1970935_1_72180
queryAchievementDockingDetailReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1970940_1_72180
queryAchievementDockingDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1970926_1_72180
queryAchievementDockingDetailReq.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1970927_1_72180
    }

    /*3-10-08查询对接成果关系详情[9312]   */
    Assert.isNull(queryAchievementDockingDetailReq.getAchievementId(),"D3新增对接成果关系(公共)-3-10-08查询对接成果关系详情-关联成果ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getTargetCycleContentId(),"D3新增对接成果关系(公共)-3-10-08查询对接成果关系详情-归属目标内容ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getIsArchive(),"D3新增对接成果关系(公共)-3-10-08查询对接成果关系详情-是否存档不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getSpaceId(),"D3新增对接成果关系(公共)-3-10-08查询对接成果关系详情-创建于空间ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getAppId(),"D3新增对接成果关系(公共)-3-10-08查询对接成果关系详情-创建于联盟应用ID不能为空",false);
      omsAchievementDocking = mOmsAchievementDockingService.queryAchievementDockingDetail(queryAchievementDockingDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsAchievementDocking != null )) {
        //if(3-10-08查询对接成果关系详情.出参 值不等于空 )  72181

//异常结束 72182
      throw new BizException("undefined","undefined",false);
      }
else{
       //else  72183

     String string = null;
    OmsAchievementDocking omsAchievementDocking_2=new OmsAchievementDocking();
  if(reqDto!=null){
      omsAchievementDocking_2.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1699730_1_72184
omsAchievementDocking_2.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1702092_1_72184
omsAchievementDocking_2.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1702093_1_72184
omsAchievementDocking_2.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1702094_1_72184
omsAchievementDocking_2.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1702096_1_72184
omsAchievementDocking_2.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1702095_1_72184
omsAchievementDocking_2.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1702097_1_72184
omsAchievementDocking_2.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1699733_1_72184
omsAchievementDocking_2.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1699731_1_72184
omsAchievementDocking_2.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1699732_1_72184
omsAchievementDocking_2.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1699734_1_72184
omsAchievementDocking_2.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1699735_1_72184
omsAchievementDocking_2.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1699737_1_72184
omsAchievementDocking_2.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1699736_1_72184
omsAchievementDocking_2.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1699738_1_72184
omsAchievementDocking_2.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1699739_1_72184
omsAchievementDocking_2.setDutyDeptName(reqDto.getDutyDeptName());//SimpleFieldAssign//sourceId:1699740_1_72184
omsAchievementDocking_2.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1699741_1_72184
omsAchievementDocking_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1699742_1_72184
omsAchievementDocking_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1699743_1_72184
omsAchievementDocking_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1699744_1_72184
omsAchievementDocking_2.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode()!=null?String.valueOf(reqDto.getTargetCycleContentTypeCode()):"");//SimpleFieldAssign//sourceId:1699745_1_72184
omsAchievementDocking_2.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1699746_1_72184
omsAchievementDocking_2.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1702098_1_72184
omsAchievementDocking_2.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1699747_1_72184
omsAchievementDocking_2.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1702099_1_72184
omsAchievementDocking_2.setAchievementBelongBodyTypeCode(reqDto.getAchievementBelongBodyTypeCode());//SimpleFieldAssign//sourceId:1702100_1_72184
omsAchievementDocking_2.setAchievementBelongBodyId(reqDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1702101_1_72184
omsAchievementDocking_2.setEvaPortraitTargetSubCycleId(reqDto.getEvaPortraitTargetSubCycleId());//SimpleFieldAssign//sourceId:1813270_1_72184
omsAchievementDocking_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1699748_1_72184
omsAchievementDocking_2.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1699749_1_72184
omsAchievementDocking_2.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1699750_1_72184
omsAchievementDocking_2.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1699751_1_72184
omsAchievementDocking_2.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1699752_1_72184
    }

    /*3-10-08新增对接成果关系[9132]   */
    Assert.isNull(omsAchievementDocking_2.getAchievementId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-关联成果ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAchievementTypeId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-成果类型ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAchievementTypeNumber(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-成果类型编号不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAchievementTypeName(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-成果类型名称不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAwardedTime(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-授予时间不能为空",false);
Assert.isNull(omsAchievementDocking_2.getIsSymbolicAchievement(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-是否标志性成果不能为空",false);
Assert.isNull(omsAchievementDocking_2.getCopyrightObjectId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-版权归属对象ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getCopyrightObjectTypeCode(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-版权归属对象表类型不能为空",false);
Assert.isNull(omsAchievementDocking_2.getCopyrightObjectName(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-版权归属对象名称不能为空",false);
Assert.isNull(omsAchievementDocking_2.getDutyDeptId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-业绩责任部门ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getDutyDeptName(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-业绩责任部门名称不能为空",false);
Assert.isNull(omsAchievementDocking_2.getCycleStageDataId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属周期阶段资料ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getCycleId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属子周期周期ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getEvaObjTargetCycleId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属子周期被评对象目标周期ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getTargetCycleContentTypeCode(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属目标内容类型编码不能为空",false);
Assert.isNull(omsAchievementDocking_2.getTargetCycleContentId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属目标内容ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getTargetCycleContentCode(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属目标内容标识不能为空",false);
Assert.isNull(omsAchievementDocking_2.getRootTargetCategoryId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-冗余一级目标分类ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getRootObjectiveId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-冗余一级指标ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAchievementBelongBodyTypeCode(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-成果所属主体类型编码不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAchievementBelongBodyId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-成果所属主体ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getEvaluationTemplateId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属评价模板ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getEvaluationSubjectId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-归属评价主题ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getSubjectLifeCycle(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-主体生命周期不能为空",false);
Assert.isNull(omsAchievementDocking_2.getSpaceId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-创建于空间ID不能为空",false);
Assert.isNull(omsAchievementDocking_2.getAppId(),"D3新增对接成果关系(公共)-3-10-08新增对接成果关系-创建于联盟应用ID不能为空",false);
      string = mOmsAchievementDockingService.addAchievementDocking(omsAchievementDocking_2)/*vcase invoke 本地 method 方法调用;*/;


      string_1 = string;
    }
AddAchievementDockingComRespDto retData = new AddAchievementDockingComRespDto();
  if(string_1!=null){
      retData.setAchievementDockingId(string_1);//SimpleFieldAssign//sourceId:1699777_1
    }




return retData;
  }
/**
   * D3删除对接成果关系(公共)[9291]
   * gen by moon at 4/6/2024, 11:20:02 AM
   */
  @Trace(operationName = "D3删除对接成果关系(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementDockingComRespDto deleteAchievementDockingCom(DeleteAchievementDockingComReqDto reqDto){


      //步骤0: 3-10-08删除对接成果关系 - deleteAchievementDocking
     boolean bOOLEAN ;
    String string=new String();
  if(reqDto!=null){
      string=reqDto.getAchievementDockingId();;//SimpleFieldAssign//sourceId:1699778_1
    }

    /*3-10-08删除对接成果关系[9133]   */
    Assert.isNull(string,"D3删除对接成果关系(公共)-3-10-08删除对接成果关系-对接成果关系ID不能为空",false);
      bOOLEAN = mOmsAchievementDockingService.deleteAchievementDocking(string)/*vcase invoke 本地 method 方法调用;*/;




DeleteAchievementDockingComRespDto retData = new DeleteAchievementDockingComRespDto();





return retData;
  }
/**
   * D3新增对接成果关系业务处理(公共)[9301]
   * gen by moon at 6/23/2024, 7:55:12 AM
   */
  @Trace(operationName = "D3新增对接成果关系业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementDockingBusinessHandleComRespDto addAchievementDockingBusinessHandleCom(AddAchievementDockingBusinessHandleComReqDto reqDto){


      AddAchievementDockingComRespDto addAchievementDockingComRespDto_1 =null;
//virtualUsage D2查是否开启标志性成果  69947
      QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1888714_1_69947
queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("IS_OPEN_SYMBOLIC_ACHIEVEMENTS");//CUSTOM_CONVENTION//sourceId:1865309_1_69947
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1865310_1_69947
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1865308_1_69947
    }

    /*D2查是否开启标志性成果[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"D3新增对接成果关系业务处理(公共)-D2查是否开启标志性成果-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(),"D3新增对接成果关系业务处理(公共)-D2查是否开启标志性成果-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"D3新增对接成果关系业务处理(公共)-D2查是否开启标志性成果-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"D3新增对接成果关系业务处理(公共)-D2查是否开启标志性成果-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



//virtualUsage D3查询成果信息详情(公共)  66278
      QueryAchievementInfoDetailComRespDto queryAchievementInfoDetailComRespDto = null;
    QueryAchievementInfoDetailComReqDto queryAchievementInfoDetailComReqDto=new QueryAchievementInfoDetailComReqDto();
  if(reqDto!=null){
      queryAchievementInfoDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1703938_1_66278
queryAchievementInfoDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703939_1_66278
    }

    /*D3查询成果信息详情(公共)[9315]   */
    Assert.isNull(queryAchievementInfoDetailComReqDto.getAchievementId(),"D3新增对接成果关系业务处理(公共)-D3查询成果信息详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementInfoDetailComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3查询成果信息详情(公共)-创建于空间ID不能为空",false);
      queryAchievementInfoDetailComRespDto = queryAchievementInfoDetailCom(queryAchievementInfoDetailComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3查询目标内容子周期周期ID  66221
      QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto = null;
    QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto=new QueryTargetContetCycleDetailComReqDto();
  queryTargetContetCycleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1701987_1_66221
if(reqDto!=null){
      queryTargetContetCycleDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1701985_1_66221
queryTargetContetCycleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1701986_1_66221
queryTargetContetCycleDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1701988_1_66221
    }

    /*D3查询目标内容子周期周期ID[9284]   */
    Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaObjTargetCycleId(),"D3新增对接成果关系业务处理(公共)-D3查询目标内容子周期周期ID-被评对象目标周期ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaluationTemplateId(),"D3新增对接成果关系业务处理(公共)-D3查询目标内容子周期周期ID-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSubjectLifeCycle(),"D3新增对接成果关系业务处理(公共)-D3查询目标内容子周期周期ID-主体生命周期不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3查询目标内容子周期周期ID-创建于空间ID不能为空",false);
      queryTargetContetCycleDetailComRespDto = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto)/*vcase invoke isSameApp*/;



//virtualUsage D3查询当前指标及一级指标等详情(公共)  66222
      QueryCurObjectiveAndOneLevelEtcDetailComRespDto queryCurObjectiveAndOneLevelEtcDetailComRespDto = null;
    QueryCurObjectiveAndOneLevelEtcDetailComReqDto queryCurObjectiveAndOneLevelEtcDetailComReqDto=new QueryCurObjectiveAndOneLevelEtcDetailComReqDto();
  queryCurObjectiveAndOneLevelEtcDetailComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1701698_1_66222
if(reqDto!=null){
      queryCurObjectiveAndOneLevelEtcDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1702710_1_66222
queryCurObjectiveAndOneLevelEtcDetailComReqDto.setObjectiveId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1701696_1_66222
queryCurObjectiveAndOneLevelEtcDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1701697_1_66222
queryCurObjectiveAndOneLevelEtcDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1701699_1_66222
    }

    /*D3查询当前指标及一级指标等详情(公共)[9303]   */
    Assert.isNull(queryCurObjectiveAndOneLevelEtcDetailComReqDto.getEvaObjTargetCycleId(),"D3新增对接成果关系业务处理(公共)-D3查询当前指标及一级指标等详情(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(queryCurObjectiveAndOneLevelEtcDetailComReqDto.getObjectiveId(),"D3新增对接成果关系业务处理(公共)-D3查询当前指标及一级指标等详情(公共)-指标ID不能为空",false);
Assert.isNull(queryCurObjectiveAndOneLevelEtcDetailComReqDto.getUseScene(),"D3新增对接成果关系业务处理(公共)-D3查询当前指标及一级指标等详情(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryCurObjectiveAndOneLevelEtcDetailComReqDto.getEvaluationTemplateId(),"D3新增对接成果关系业务处理(公共)-D3查询当前指标及一级指标等详情(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryCurObjectiveAndOneLevelEtcDetailComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3查询当前指标及一级指标等详情(公共)-创建于空间ID不能为空",false);
      queryCurObjectiveAndOneLevelEtcDetailComRespDto = smallCircleCommonService.queryCurObjectiveAndOneLevelEtcDetailCom(queryCurObjectiveAndOneLevelEtcDetailComReqDto)/*vcase invoke isSameApp*/;



//virtualUsage D3查询成果版权归属信息(公共)  66224
      QueryAchievementCopyrightOwnInfoDetailComRespDto queryAchievementCopyrightOwnInfoDetailComRespDto = null;
    QueryAchievementCopyrightOwnInfoDetailComReqDto queryAchievementCopyrightOwnInfoDetailComReqDto=new QueryAchievementCopyrightOwnInfoDetailComReqDto();
  if(reqDto!=null){
      queryAchievementCopyrightOwnInfoDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1701978_1_66224
queryAchievementCopyrightOwnInfoDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1701979_1_66224
    }

    /*D3查询成果版权归属信息(公共)[9304]   */
    Assert.isNull(queryAchievementCopyrightOwnInfoDetailComReqDto.getAchievementId(),"D3新增对接成果关系业务处理(公共)-D3查询成果版权归属信息(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwnInfoDetailComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3查询成果版权归属信息(公共)-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwnInfoDetailComRespDto = queryAchievementCopyrightOwnInfoDetailCom(queryAchievementCopyrightOwnInfoDetailComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3准备入参5：评价画像根节点ID(公共)  68884
      AnalysisEvaPortraitRootIdComRespDto analysisEvaPortraitRootIdComRespDto = null;
    if(queryTargetContetCycleDetailComRespDto !=null){
          AnalysisEvaPortraitRootIdComReqDto analysisEvaPortraitRootIdComReqDto=new AnalysisEvaPortraitRootIdComReqDto();
  if(queryTargetContetCycleDetailComRespDto!=null){
      analysisEvaPortraitRootIdComReqDto.setCycleId(queryTargetContetCycleDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1814057_1_68884
analysisEvaPortraitRootIdComReqDto.setEvaluationTemplateTypeCode(queryTargetContetCycleDetailComRespDto.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1814058_1_68884
    }
if(reqDto!=null){
      analysisEvaPortraitRootIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1814059_1_68884
analysisEvaPortraitRootIdComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1814060_1_68884
    }

    /*D3准备入参5：评价画像根节点ID(公共)[9651]   */
    Assert.isNull(analysisEvaPortraitRootIdComReqDto.getCycleId(),"D3新增对接成果关系业务处理(公共)-D3准备入参5：评价画像根节点ID(公共)-周期ID不能为空",false);
Assert.isNull(analysisEvaPortraitRootIdComReqDto.getEvaluationTemplateTypeCode(),"D3新增对接成果关系业务处理(公共)-D3准备入参5：评价画像根节点ID(公共)-冗余评价模板类型配置项不能为空",false);
Assert.isNull(analysisEvaPortraitRootIdComReqDto.getEvaluationTemplateId(),"D3新增对接成果关系业务处理(公共)-D3准备入参5：评价画像根节点ID(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(analysisEvaPortraitRootIdComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3准备入参5：评价画像根节点ID(公共)-创建于空间ID不能为空",false);
      analysisEvaPortraitRootIdComRespDto = achievementDockService.analysisEvaPortraitRootIdCom(analysisEvaPortraitRootIdComReqDto)/*vcase invoke isSameApp*/;



           }
//virtualUsage D3准备入参6：分析成果所属主体及类型(公共)  68948
      AnalysisAchBelongBodyAndTypeComRespDto analysisAchBelongBodyAndTypeComRespDto = null;
    if(queryCurObjectiveAndOneLevelEtcDetailComRespDto !=null&&queryTargetContetCycleDetailComRespDto !=null){
          AnalysisAchBelongBodyAndTypeComReqDto analysisAchBelongBodyAndTypeComReqDto=new AnalysisAchBelongBodyAndTypeComReqDto();
  if(queryCurObjectiveAndOneLevelEtcDetailComRespDto!=null){
      analysisAchBelongBodyAndTypeComReqDto.setEvaObjTargetCycleId(queryCurObjectiveAndOneLevelEtcDetailComRespDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1815424_1_68948
    }
if(queryTargetContetCycleDetailComRespDto!=null){
      analysisAchBelongBodyAndTypeComReqDto.setEvaObjEntityId(queryTargetContetCycleDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1815425_1_68948
analysisAchBelongBodyAndTypeComReqDto.setEvaObjTableTypeCode(queryTargetContetCycleDetailComRespDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:1815427_1_68948
analysisAchBelongBodyAndTypeComReqDto.setEvaluationTemplateTypeCode(queryTargetContetCycleDetailComRespDto.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1815426_1_68948
    }

    /*D3准备入参6：分析成果所属主体及类型(公共)[9656]   */
    Assert.isNull(analysisAchBelongBodyAndTypeComReqDto.getEvaObjEntityId(),"D3新增对接成果关系业务处理(公共)-D3准备入参6：分析成果所属主体及类型(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(analysisAchBelongBodyAndTypeComReqDto.getEvaObjTableTypeCode(),"D3新增对接成果关系业务处理(公共)-D3准备入参6：分析成果所属主体及类型(公共)-被评对象内容表类型编码不能为空",false);
Assert.isNull(analysisAchBelongBodyAndTypeComReqDto.getEvaluationTemplateTypeCode(),"D3新增对接成果关系业务处理(公共)-D3准备入参6：分析成果所属主体及类型(公共)-冗余评价模板类型配置项不能为空",false);
      analysisAchBelongBodyAndTypeComRespDto = achievementDockService.analysisAchBelongBodyAndTypeCom(analysisAchBelongBodyAndTypeComReqDto)/*vcase invoke isSameApp*/;



           }
//virtualUsage D3新增对接成果关系(公共)  66225
      AddAchievementDockingComRespDto addAchievementDockingComRespDto = null;
    if(queryAchievementInfoDetailComRespDto !=null&&queryAchievementCopyrightOwnInfoDetailComRespDto !=null&&queryTargetContetCycleDetailComRespDto !=null&&queryCurObjectiveAndOneLevelEtcDetailComRespDto !=null&&analysisAchBelongBodyAndTypeComRespDto !=null&&analysisEvaPortraitRootIdComRespDto !=null){
          AddAchievementDockingComReqDto addAchievementDockingComReqDto=new AddAchievementDockingComReqDto();
addAchievementDockingComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1702010_1_66225
addAchievementDockingComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1702012_1_66225
if(reqDto!=null){
      addAchievementDockingComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1701990_1_66225
addAchievementDockingComReqDto.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1701995_1_66225
addAchievementDockingComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1702001_1_66225
addAchievementDockingComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1702003_1_66225
addAchievementDockingComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1702004_1_66225
addAchievementDockingComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1702005_1_66225
addAchievementDockingComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1702006_1_66225
addAchievementDockingComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1702008_1_66225
addAchievementDockingComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1702011_1_66225
    }
if(queryAchievementInfoDetailComRespDto!=null){
      addAchievementDockingComReqDto.setAchievementTypeId(queryAchievementInfoDetailComRespDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1702112_1_66225
addAchievementDockingComReqDto.setAchievementTypeNumber(queryAchievementInfoDetailComRespDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1702113_1_66225
addAchievementDockingComReqDto.setAchievementTypeName(queryAchievementInfoDetailComRespDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1702114_1_66225
addAchievementDockingComReqDto.setAchievementCategoryId(queryAchievementInfoDetailComRespDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1702115_1_66225
addAchievementDockingComReqDto.setAchievementCategoryNumber(queryAchievementInfoDetailComRespDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1702116_1_66225
addAchievementDockingComReqDto.setAchievementCategoryName(queryAchievementInfoDetailComRespDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1702117_1_66225
addAchievementDockingComReqDto.setAchievementGradeId(queryAchievementInfoDetailComRespDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1701993_1_66225
addAchievementDockingComReqDto.setAchievementGradeNumber(queryAchievementInfoDetailComRespDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1701991_1_66225
addAchievementDockingComReqDto.setAchievementGradeName(queryAchievementInfoDetailComRespDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1701992_1_66225
addAchievementDockingComReqDto.setAwardedTime(queryAchievementInfoDetailComRespDto.getAwardedTime());//SimpleFieldAssign//sourceId:1701994_1_66225
    }
if(queryAchievementCopyrightOwnInfoDetailComRespDto!=null){
      addAchievementDockingComReqDto.setCopyrightObjectTypeCode(queryAchievementCopyrightOwnInfoDetailComRespDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1701996_1_66225
addAchievementDockingComReqDto.setCopyrightObjectId(queryAchievementCopyrightOwnInfoDetailComRespDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1701997_1_66225
addAchievementDockingComReqDto.setCopyrightObjectName(queryAchievementCopyrightOwnInfoDetailComRespDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1701998_1_66225
addAchievementDockingComReqDto.setDutyDeptId(queryAchievementCopyrightOwnInfoDetailComRespDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1701999_1_66225
addAchievementDockingComReqDto.setDutyDeptName(queryAchievementCopyrightOwnInfoDetailComRespDto.getDeptShortName());//SimpleFieldAssign//sourceId:1702000_1_66225
    }
if(queryTargetContetCycleDetailComRespDto!=null){
      addAchievementDockingComReqDto.setCycleId(queryTargetContetCycleDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1702002_1_66225
addAchievementDockingComReqDto.setEvaluationSubjectId(queryTargetContetCycleDetailComRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1702009_1_66225
    }
if(queryCurObjectiveAndOneLevelEtcDetailComRespDto!=null){
      addAchievementDockingComReqDto.setTargetCycleContentCode(queryCurObjectiveAndOneLevelEtcDetailComRespDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1702118_1_66225
addAchievementDockingComReqDto.setRootTargetCategoryId(queryCurObjectiveAndOneLevelEtcDetailComRespDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1702007_1_66225
addAchievementDockingComReqDto.setRootObjectiveId(queryCurObjectiveAndOneLevelEtcDetailComRespDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1702119_1_66225
    }
if(analysisAchBelongBodyAndTypeComRespDto!=null){
      addAchievementDockingComReqDto.setAchievementBelongBodyTypeCode(analysisAchBelongBodyAndTypeComRespDto.getAchievementBelongBodyTypeCode());//SimpleFieldAssign//sourceId:1702120_1_66225
addAchievementDockingComReqDto.setAchievementBelongBodyId(analysisAchBelongBodyAndTypeComRespDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1702121_1_66225
    }
if(analysisEvaPortraitRootIdComRespDto!=null){
      addAchievementDockingComReqDto.setEvaPortraitTargetSubCycleId(analysisEvaPortraitRootIdComRespDto.getEvaPortraitTargetSubCycleId());//SimpleFieldAssign//sourceId:1813272_1_66225
    }

    /*D3新增对接成果关系(公共)[9290]   */
    Assert.isNull(addAchievementDockingComReqDto.getAchievementId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-关联成果ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAchievementTypeId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-成果类型ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAchievementTypeNumber(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-成果类型编号不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAchievementTypeName(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-成果类型名称不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAwardedTime(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-授予时间不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getIsSymbolicAchievement(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-是否标志性成果不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getCopyrightObjectTypeCode(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-版权归属对象表类型不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getCopyrightObjectId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-版权归属对象ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getCopyrightObjectName(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-版权归属对象名称不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getDutyDeptId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-业绩责任部门ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getDutyDeptName(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-业绩责任部门名称不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getCycleStageDataId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属周期阶段资料ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getCycleId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属子周期周期ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getUpdateCycleId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-更新周期ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getEvaObjTargetCycleId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属子周期被评对象目标周期ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getTargetCycleContentTypeCode(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属目标内容类型编码不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getTargetCycleContentCode(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属目标内容标识不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getTargetCycleContentId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属目标内容ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getRootTargetCategoryId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-冗余一级目标分类ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getRootObjectiveId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-冗余一级指标ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAchievementBelongBodyTypeCode(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-成果所属主体类型编码不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAchievementBelongBodyId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-成果所属主体ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getEvaluationTemplateId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属评价模板ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getEvaluationSubjectId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-归属评价主题ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getSubjectLifeCycle(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementDockingComReqDto.getAppId(),"D3新增对接成果关系业务处理(公共)-D3新增对接成果关系(公共)-创建于联盟应用ID不能为空",false);
      addAchievementDockingComRespDto = addAchievementDockingCom(addAchievementDockingComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementDockingComRespDto_1 = addAchievementDockingComRespDto;
           }
if((queryCurObjectiveAndOneLevelEtcDetailComRespDto!= null&&  queryCurObjectiveAndOneLevelEtcDetailComRespDto.getTargetValueType() !=null && queryCurObjectiveAndOneLevelEtcDetailComRespDto.getTargetValueType().equals("NUMBER_GROWTH")&&queryCurObjectiveAndOneLevelEtcDetailComRespDto!= null&&  queryCurObjectiveAndOneLevelEtcDetailComRespDto.getIsLastObjective() !=null && queryCurObjectiveAndOneLevelEtcDetailComRespDto.getIsLastObjective().equals("TRUE")&&queryConfItemMatchAnswerDetailComRespDto!= null&&  queryConfItemMatchAnswerDetailComRespDto.getEndValue() !=null && queryConfItemMatchAnswerDetailComRespDto.getEndValue().equals("TRUE"))) {
        //if((D3准备3：当前指标及一级指标等.冗余指标业务类型 等于 数量增长型 and D3准备3：当前指标及一级指标等.是否末级指标 等于 是 and D2查是否开启标志性成果.答案值 等于 是))  66292

      StatisticsDockAchievementObjectiveActualComRespDto statisticsDockAchievementObjectiveActualComRespDto = null;
    if(queryTargetContetCycleDetailComRespDto !=null){
        com.wicket.okrapp.biz.service.dto.req.StatisticsDockAchievementObjectiveActualComReqDto statisticsDockAchievementObjectiveActualComReqDto=new com.wicket.okrapp.biz.service.dto.req.StatisticsDockAchievementObjectiveActualComReqDto();
  if(reqDto!=null){
      statisticsDockAchievementObjectiveActualComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId()!=null?String.valueOf(reqDto.getCycleStageDataId()):"");//SimpleFieldAssign//sourceId:1889298_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1889299_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1889300_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1889301_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setBelongToContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1889304_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1889305_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1889306_1_66293
    }
if(queryTargetContetCycleDetailComRespDto!=null){
      statisticsDockAchievementObjectiveActualComReqDto.setEvaObjEntityId(queryTargetContetCycleDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1889302_1_66293
statisticsDockAchievementObjectiveActualComReqDto.setEvaObjTypeCode(queryTargetContetCycleDetailComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1889303_1_66293
    }

    /*D3统计对接成果增指标实际值(公共)[9308]   */
    Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleStageDataId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-周期阶段资料记录ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-归属周期ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleTypeCode(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-周期类型标识不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjTargetCycleId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjEntityId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjTypeCode(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象类型编码不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getBelongToContentId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-数据归属内容表主键ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaluationTemplateId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getSpaceId(),"D3新增对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-创建于空间ID不能为空",false);
      statisticsDockAchievementObjectiveActualComRespDto = targetCalcService.statisticsDockAchievementObjectiveActualCom(statisticsDockAchievementObjectiveActualComReqDto)/*vcase invoke isSameApp*/;



           }
           }
AddAchievementDockingBusinessHandleComRespDto retData = new AddAchievementDockingBusinessHandleComRespDto();
  if(addAchievementDockingComRespDto_1!=null){
      retData.setAchievementDockingId(addAchievementDockingComRespDto_1.getAchievementDockingId());//SimpleFieldAssign//sourceId:1702227_1
    }




return retData;
  }
/**
   * D3查询成果版权归属信息(公共)[9304]
   * gen by moon at 4/6/2024, 11:21:33 AM
   */
  @Trace(operationName = "D3查询成果版权归属信息(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementCopyrightOwnInfoDetailComRespDto queryAchievementCopyrightOwnInfoDetailCom(QueryAchievementCopyrightOwnInfoDetailComReqDto reqDto){


      QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto_1 =null;
QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 =null;
//步骤0: D3查询成果版权归属详情(公共) - queryAchievementCopyrightOwningDetailCom
     QueryAchievementCopyrightOwningDetailComRespDto queryAchievementCopyrightOwningDetailComRespDto = null;
    QueryAchievementCopyrightOwningDetailComReqDto queryAchievementCopyrightOwningDetailComReqDto=new QueryAchievementCopyrightOwningDetailComReqDto();
  queryAchievementCopyrightOwningDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1701943_1
if(reqDto!=null){
      queryAchievementCopyrightOwningDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1701940_1
queryAchievementCopyrightOwningDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1701942_1
    }

    /*D3查询成果版权归属详情(公共)[9237]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getAchievementId(),"D3查询成果版权归属信息(公共)-D3查询成果版权归属详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSubjectLifeCycle(),"D3查询成果版权归属信息(公共)-D3查询成果版权归属详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailComReqDto.getSpaceId(),"D3查询成果版权归属信息(公共)-D3查询成果版权归属详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningDetailComRespDto = queryAchievementCopyrightOwningDetailCom(queryAchievementCopyrightOwningDetailComReqDto)/*vcase invoke 同服务,同domain*/;


      queryAchievementCopyrightOwningDetailComRespDto_1 = queryAchievementCopyrightOwningDetailComRespDto;

//步骤1: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
     QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
    if(queryAchievementCopyrightOwningDetailComRespDto !=null){
          QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto=new QueryDeptDetailComBorderReqDto();
  queryDeptDetailComBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1701964_1
if(queryAchievementCopyrightOwningDetailComRespDto!=null){
      queryDeptDetailComBorderReqDto.setDeptId(queryAchievementCopyrightOwningDetailComRespDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1701950_1
    }

    /*D1-3查询部门详情(公共)(边界)[2691]   */
    Assert.isNull(queryDeptDetailComBorderReqDto.getDeptId(),"D3查询成果版权归属信息(公共)-D1-3查询部门详情(公共)(边界)-部门ID不能为空",false);
Assert.isNull(queryDeptDetailComBorderReqDto.getSubjectLifeCycle(),"D3查询成果版权归属信息(公共)-D1-3查询部门详情(公共)(边界)-主体生命周期不能为空",false);
      queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
           }

QueryAchievementCopyrightOwnInfoDetailComRespDto retData = new QueryAchievementCopyrightOwnInfoDetailComRespDto();
  if(queryAchievementCopyrightOwningDetailComRespDto_1!=null){
      retData.setCopyrightObjectTypeCode(queryAchievementCopyrightOwningDetailComRespDto_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1701971_1
retData.setCopyrightObjectId(queryAchievementCopyrightOwningDetailComRespDto_1.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1701973_1
retData.setCopyrightObjectName(queryAchievementCopyrightOwningDetailComRespDto_1.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1701974_1
retData.setDutyDeptId(queryAchievementCopyrightOwningDetailComRespDto_1.getDutyDeptId());//SimpleFieldAssign//sourceId:1701975_1
    }
if(queryDeptDetailComBorderRespDto_1!=null){
      retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:1701972_1
    }




return retData;
  }
/**
   * D3删除对接成果关系业务处理(公共)[9310]
   * gen by moon at 7/19/2024, 11:51:59 PM
   */
  @Trace(operationName = "D3删除对接成果关系业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteAchievementDockingBusinessHandleComRespDto deleteAchievementDockingBusinessHandleCom(DeleteAchievementDockingBusinessHandleComReqDto reqDto){


      //virtualUsage D3查询对接成果关系详情(公共)  66303
     QueryAchievementDockingDetailComRespDto queryAchievementDockingDetailComRespDto = null;
    QueryAchievementDockingDetailComReqDto queryAchievementDockingDetailComReqDto=new QueryAchievementDockingDetailComReqDto();
  queryAchievementDockingDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1703591_1_66303
if(reqDto!=null){
      queryAchievementDockingDetailComReqDto.setAchievementDockingId(reqDto.getAchievementDockingId());//SimpleFieldAssign//sourceId:1703590_1_66303
    }

    /*D3查询对接成果关系详情(公共)[9313]   */
    Assert.isNull(queryAchievementDockingDetailComReqDto.getAchievementDockingId(),"D3删除对接成果关系业务处理(公共)-D3查询对接成果关系详情(公共)-对接成果关系ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailComReqDto.getSpaceId(),"D3删除对接成果关系业务处理(公共)-D3查询对接成果关系详情(公共)-创建于空间ID不能为空",false);
      queryAchievementDockingDetailComRespDto = queryAchievementDockingDetailCom(queryAchievementDockingDetailComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D2准备入参：查是否开启标志性成果配置（公共）  71742
      QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    if(queryAchievementDockingDetailComRespDto !=null){
          com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1939209_1_71742
queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("IS_OPEN_SYMBOLIC_ACHIEVEMENTS");//CUSTOM_CONVENTION//sourceId:1939210_1_71742
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1939211_1_71742
if(queryAchievementDockingDetailComRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(queryAchievementDockingDetailComRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1939208_1_71742
    }

    /*D2准备入参：查是否开启标志性成果配置（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"D3删除对接成果关系业务处理(公共)-D2准备入参：查是否开启标志性成果配置（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(),"D3删除对接成果关系业务处理(公共)-D2准备入参：查是否开启标志性成果配置（公共）-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"D3删除对接成果关系业务处理(公共)-D2准备入参：查是否开启标志性成果配置（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"D3删除对接成果关系业务处理(公共)-D2准备入参：查是否开启标志性成果配置（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//virtualUsage D3准备入参：1目标子周期详请  68175
      QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto = null;
    if(queryAchievementDockingDetailComRespDto !=null){
          QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto=new QueryTargetContetCycleDetailComReqDto();
  queryTargetContetCycleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1785669_1_68175
if(queryAchievementDockingDetailComRespDto!=null){
      queryTargetContetCycleDetailComReqDto.setEvaObjTargetCycleId(queryAchievementDockingDetailComRespDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1785667_1_68175
queryTargetContetCycleDetailComReqDto.setEvaluationTemplateId(queryAchievementDockingDetailComRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1785668_1_68175
queryTargetContetCycleDetailComReqDto.setSpaceId(queryAchievementDockingDetailComRespDto.getSpaceId());//SimpleFieldAssign//sourceId:1785670_1_68175
    }

    /*D3准备入参：1目标子周期详请[9284]   */
    Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaObjTargetCycleId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：1目标子周期详请-被评对象目标周期ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaluationTemplateId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：1目标子周期详请-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSubjectLifeCycle(),"D3删除对接成果关系业务处理(公共)-D3准备入参：1目标子周期详请-主体生命周期不能为空",false);
Assert.isNull(queryTargetContetCycleDetailComReqDto.getSpaceId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：1目标子周期详请-创建于空间ID不能为空",false);
      queryTargetContetCycleDetailComRespDto = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto)/*vcase invoke isSameApp*/;



           }
//virtualUsage D3准备入参：2 更新周期周期类型  68176
      QueryCycleDetailComRespDto queryCycleDetailComRespDto = null;
    if(queryAchievementDockingDetailComRespDto !=null){
          QueryCycleDetailComReqDto queryCycleDetailComReqDto=new QueryCycleDetailComReqDto();
  if(queryAchievementDockingDetailComRespDto!=null){
      queryCycleDetailComReqDto.setCycleId(queryAchievementDockingDetailComRespDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1785697_1_68176
    }

    /*D3准备入参：2 更新周期周期类型[2009]   */
    Assert.isNull(queryCycleDetailComReqDto.getCycleId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：2 更新周期周期类型-周期ID不能为空",false);
      queryCycleDetailComRespDto = cycleTypeService.queryCycleDetailCom(queryCycleDetailComReqDto)/*vcase invoke isSameApp*/;



           }
//virtualUsage D3准备入参：3查询指标详情(公共)  66304
      QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto = null;
    if(queryAchievementDockingDetailComRespDto !=null){
          QueryTargetObjDetailComReqDto queryTargetObjDetailComReqDto=new QueryTargetObjDetailComReqDto();
  queryTargetObjDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1705434_1_66304
if(queryAchievementDockingDetailComRespDto!=null){
      queryTargetObjDetailComReqDto.setObjectiveId(queryAchievementDockingDetailComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1705422_1_66304
queryTargetObjDetailComReqDto.setEvaluationTemplateId(queryAchievementDockingDetailComRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1705433_1_66304
    }

    /*D3准备入参：3查询指标详情(公共)[2794]   */
    Assert.isNull(queryTargetObjDetailComReqDto.getObjectiveId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：3查询指标详情(公共)-指标ID不能为空",false);
Assert.isNull(queryTargetObjDetailComReqDto.getEvaluationTemplateId(),"D3删除对接成果关系业务处理(公共)-D3准备入参：3查询指标详情(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjDetailComReqDto.getSubjectLifeCycle(),"D3删除对接成果关系业务处理(公共)-D3准备入参：3查询指标详情(公共)-主体生命周期不能为空",false);
      queryTargetObjDetailComRespDto = indexSystemService.queryTargetObjDetailCom(queryTargetObjDetailComReqDto)/*vcase invoke isSameApp*/;



           }
//virtualUsage D3删除对接成果关系(公共)  66307
     DeleteAchievementDockingComRespDto deleteAchievementDockingComRespDto = null;
    DeleteAchievementDockingComReqDto deleteAchievementDockingComReqDto=new DeleteAchievementDockingComReqDto();
  if(reqDto!=null){
      deleteAchievementDockingComReqDto.setAchievementDockingId(reqDto.getAchievementDockingId());//SimpleFieldAssign//sourceId:1703130_1_66307
    }

    /*D3删除对接成果关系(公共)[9291]   */
    Assert.isNull(deleteAchievementDockingComReqDto.getAchievementDockingId(),"D3删除对接成果关系业务处理(公共)-D3删除对接成果关系(公共)-对接成果关系ID不能为空",false);
      deleteAchievementDockingComRespDto = deleteAchievementDockingCom(deleteAchievementDockingComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryTargetObjDetailComRespDto!= null&&  queryTargetObjDetailComRespDto.getTargetValueType() !=null && queryTargetObjDetailComRespDto.getTargetValueType().equals("NUMBER_GROWTH")&&queryConfItemMatchAnswerDetailComRespDto!= null&&  queryConfItemMatchAnswerDetailComRespDto.getEndValue() !=null && queryConfItemMatchAnswerDetailComRespDto.getEndValue().equals("TRUE"))) {
        //if((D3准备入参：3查询指标详情(公共).冗余指标业务类型 等于 数量增长型 and D2准备入参：查是否开启标志性成果配置（公共）.答案值 等于 是))  66305

     StatisticsDockAchievementObjectiveActualComRespDto statisticsDockAchievementObjectiveActualComRespDto = null;
    if(queryAchievementDockingDetailComRespDto !=null&&queryCycleDetailComRespDto !=null&&queryTargetContetCycleDetailComRespDto !=null){
        com.wicket.okrapp.biz.service.dto.req.StatisticsDockAchievementObjectiveActualComReqDto statisticsDockAchievementObjectiveActualComReqDto=new com.wicket.okrapp.biz.service.dto.req.StatisticsDockAchievementObjectiveActualComReqDto();
  if(queryAchievementDockingDetailComRespDto!=null){
      statisticsDockAchievementObjectiveActualComReqDto.setCycleStageDataId(queryAchievementDockingDetailComRespDto.getCycleStageDataId()!=null?String.valueOf(queryAchievementDockingDetailComRespDto.getCycleStageDataId()):"");//SimpleFieldAssign//sourceId:1889563_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setCycleId(queryAchievementDockingDetailComRespDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1889564_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setEvaObjTargetCycleId(queryAchievementDockingDetailComRespDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1889566_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setBelongToContentId(queryAchievementDockingDetailComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1889569_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setEvaluationTemplateId(queryAchievementDockingDetailComRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1889570_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setSpaceId(queryAchievementDockingDetailComRespDto.getSpaceId());//SimpleFieldAssign//sourceId:1889571_1_66306
    }
if(queryCycleDetailComRespDto!=null){
      statisticsDockAchievementObjectiveActualComReqDto.setCycleTypeCode(queryCycleDetailComRespDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1889565_1_66306
    }
if(queryTargetContetCycleDetailComRespDto!=null){
      statisticsDockAchievementObjectiveActualComReqDto.setEvaObjEntityId(queryTargetContetCycleDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1889567_1_66306
statisticsDockAchievementObjectiveActualComReqDto.setEvaObjTypeCode(queryTargetContetCycleDetailComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1889568_1_66306
    }

    /*D3统计对接成果增指标实际值(公共)[9308]   */
    Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleStageDataId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-周期阶段资料记录ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-归属周期ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getCycleTypeCode(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-周期类型标识不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjTargetCycleId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjEntityId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaObjTypeCode(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-被评对象类型编码不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getBelongToContentId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-数据归属内容表主键ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getEvaluationTemplateId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(statisticsDockAchievementObjectiveActualComReqDto.getSpaceId(),"D3删除对接成果关系业务处理(公共)-D3统计对接成果增指标实际值(公共)-创建于空间ID不能为空",false);
      statisticsDockAchievementObjectiveActualComRespDto = targetCalcService.statisticsDockAchievementObjectiveActualCom(statisticsDockAchievementObjectiveActualComReqDto)/*vcase invoke isSameApp*/;



           }
      }
DeleteAchievementDockingBusinessHandleComRespDto retData = new DeleteAchievementDockingBusinessHandleComRespDto();





return retData;
  }
/**
   * D3查询对接成果关系详情(公共)[9313]
   * gen by moon at 5/9/2024, 2:49:19 PM
   */
  @Trace(operationName = "D3查询对接成果关系详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementDockingDetailComRespDto queryAchievementDockingDetailCom(QueryAchievementDockingDetailComReqDto reqDto){


      OmsAchievementDocking omsAchievementDocking_1 =null;
//步骤0: 3-10-08查询对接成果关系详情 - queryAchievementDockingDetail
     OmsAchievementDocking omsAchievementDocking = null;
    QueryAchievementDockingDetailReq queryAchievementDockingDetailReq=new QueryAchievementDockingDetailReq();
  queryAchievementDockingDetailReq.setIsArchive("FALSE");//sourceId:1703573_1
queryAchievementDockingDetailReq.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1703576_1
if(reqDto!=null){
      queryAchievementDockingDetailReq.setAchievementDockingId(reqDto.getAchievementDockingId());//SimpleFieldAssign//sourceId:1703572_1
queryAchievementDockingDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703575_1
    }

    /*3-10-08查询对接成果关系详情[9312]   */
    Assert.isNull(queryAchievementDockingDetailReq.getAchievementDockingId(),"D3查询对接成果关系详情(公共)-3-10-08查询对接成果关系详情-对接成果关系ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getIsArchive(),"D3查询对接成果关系详情(公共)-3-10-08查询对接成果关系详情-是否存档不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getSpaceId(),"D3查询对接成果关系详情(公共)-3-10-08查询对接成果关系详情-创建于空间ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getAppId(),"D3查询对接成果关系详情(公共)-3-10-08查询对接成果关系详情-创建于联盟应用ID不能为空",false);
      omsAchievementDocking = mOmsAchievementDockingService.queryAchievementDockingDetail(queryAchievementDockingDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementDocking_1 = omsAchievementDocking;

QueryAchievementDockingDetailComRespDto retData = new QueryAchievementDockingDetailComRespDto();
  if(omsAchievementDocking_1!=null){
      retData.setCycleStageDataId(omsAchievementDocking_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1703585_1
retData.setEvaObjTargetCycleId(omsAchievementDocking_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1703586_1
retData.setCycleId(omsAchievementDocking_1.getCycleId());//SimpleFieldAssign//sourceId:1703587_1
retData.setUpdateCycleId(omsAchievementDocking_1.getUpdateCycleId());//SimpleFieldAssign//sourceId:1785695_1
retData.setTargetCycleContentId(omsAchievementDocking_1.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1705420_1
retData.setEvaluationTemplateId(omsAchievementDocking_1.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1703588_1
retData.setSpaceId(omsAchievementDocking_1.getSpaceId());//SimpleFieldAssign//sourceId:1703589_1
    }




return retData;
  }
/**
   * D3查询成果信息详情(公共)[9315]
   * gen by moon at 6/23/2024, 7:27:49 AM
   */
  @Trace(operationName = "D3查询成果信息详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryAchievementInfoDetailComRespDto queryAchievementInfoDetailCom(QueryAchievementInfoDetailComReqDto reqDto){


      QueryAchievementDetailComRespDto queryAchievementDetailComRespDto_1 =null;
QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto_1 =null;
QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto_1 =null;
QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto_1 =null;
//virtualUsage D3查询成果详情(公共)  70689
     QueryAchievementDetailComRespDto queryAchievementDetailComRespDto = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1703832_1_70689
if(reqDto!=null){
      queryAchievementDetailComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1703858_1_70689
queryAchievementDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703833_1_70689
    }

    /*D3查询成果详情(公共)[9213]   */
    Assert.isNull(queryAchievementDetailComReqDto.getAchievementId(),"D3查询成果信息详情(公共)-D3查询成果详情(公共)-成果ID不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto.getSubjectLifeCycle(),"D3查询成果信息详情(公共)-D3查询成果详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto.getSpaceId(),"D3查询成果信息详情(公共)-D3查询成果详情(公共)-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto = queryAchievementDetailCom(queryAchievementDetailComReqDto)/*vcase invoke 同服务,同domain*/;


      queryAchievementDetailComRespDto_1 = queryAchievementDetailComRespDto;
if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementTypeId() != null )) {
        //if(D3查询成果详情(公共).成果类型ID 值不等于空 )  70690

     QueryAchievementTypeDetailComRespDto queryAchievementTypeDetailComRespDto = null;
    if(queryAchievementDetailComRespDto !=null){
          QueryAchievementTypeDetailComReqDto queryAchievementTypeDetailComReqDto=new QueryAchievementTypeDetailComReqDto();
  queryAchievementTypeDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1703918_1_70691
if(queryAchievementDetailComRespDto!=null){
      queryAchievementTypeDetailComReqDto.setAchievementTypeId(queryAchievementDetailComRespDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1703917_1_70691
    }
if(reqDto!=null){
      queryAchievementTypeDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703919_1_70691
    }

    /*D3查询成果类型详情(公共)[9148]   */
    Assert.isNull(queryAchievementTypeDetailComReqDto.getAchievementTypeId(),"D3查询成果信息详情(公共)-D3查询成果类型详情(公共)-成果类型ID不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSubjectLifeCycle(),"D3查询成果信息详情(公共)-D3查询成果类型详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementTypeDetailComReqDto.getSpaceId(),"D3查询成果信息详情(公共)-D3查询成果类型详情(公共)-创建于空间ID不能为空",false);
      queryAchievementTypeDetailComRespDto = queryAchievementTypeDetailCom(queryAchievementTypeDetailComReqDto)/*vcase invoke 同服务,同domain*/;


      queryAchievementTypeDetailComRespDto_1 = queryAchievementTypeDetailComRespDto;
           }
      }
if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementCategoryId() != null )) {
        //if(D3查询成果详情(公共).成果类别ID 值不等于空 )  70693

     QueryAchievementCategoryDetailComRespDto queryAchievementCategoryDetailComRespDto = null;
    if(queryAchievementDetailComRespDto !=null){
          QueryAchievementCategoryDetailComReqDto queryAchievementCategoryDetailComReqDto=new QueryAchievementCategoryDetailComReqDto();
  queryAchievementCategoryDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1703887_1_70694
if(queryAchievementDetailComRespDto!=null){
      queryAchievementCategoryDetailComReqDto.setAchievementCategoryId(queryAchievementDetailComRespDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1703899_1_70694
    }
if(reqDto!=null){
      queryAchievementCategoryDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703888_1_70694
    }

    /*D3查询成果类别详情(公共)[9153]   */
Assert.isNull(queryAchievementCategoryDetailComReqDto.getSubjectLifeCycle(),"D3查询成果信息详情(公共)-D3查询成果类别详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementCategoryDetailComReqDto.getSpaceId(),"D3查询成果信息详情(公共)-D3查询成果类别详情(公共)-创建于空间ID不能为空",false);
      queryAchievementCategoryDetailComRespDto = queryAchievementCategoryDetailCom(queryAchievementCategoryDetailComReqDto)/*vcase invoke 同服务,同domain*/;


      queryAchievementCategoryDetailComRespDto_1 = queryAchievementCategoryDetailComRespDto;
           }
      }
if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementGradeId() != null )) {
        //if(D3查询成果详情(公共).成果等级ID 值不等于空 )  70696

     QueryAchievementGradeDetailComRespDto queryAchievementGradeDetailComRespDto = null;
    if(queryAchievementDetailComRespDto !=null){
          QueryAchievementGradeDetailComReqDto queryAchievementGradeDetailComReqDto=new QueryAchievementGradeDetailComReqDto();
  queryAchievementGradeDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1703905_1_70697
if(queryAchievementDetailComRespDto!=null){
      queryAchievementGradeDetailComReqDto.setAchievementGradeId(queryAchievementDetailComRespDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1703911_1_70697
    }
if(reqDto!=null){
      queryAchievementGradeDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1703906_1_70697
    }

    /*D3查询成果等级详情(公共)[9154]   */
    Assert.isNull(queryAchievementGradeDetailComReqDto.getAchievementGradeId(),"D3查询成果信息详情(公共)-D3查询成果等级详情(公共)-成果等级ID不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSubjectLifeCycle(),"D3查询成果信息详情(公共)-D3查询成果等级详情(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementGradeDetailComReqDto.getSpaceId(),"D3查询成果信息详情(公共)-D3查询成果等级详情(公共)-创建于空间ID不能为空",false);
      queryAchievementGradeDetailComRespDto = queryAchievementGradeDetailCom(queryAchievementGradeDetailComReqDto)/*vcase invoke 同服务,同domain*/;


      queryAchievementGradeDetailComRespDto_1 = queryAchievementGradeDetailComRespDto;
           }
      }
QueryAchievementInfoDetailComRespDto retData = new QueryAchievementInfoDetailComRespDto();
  if(queryAchievementDetailComRespDto_1!=null){
      retData.setAchievementTypeId(queryAchievementDetailComRespDto_1.getAchievementTypeId());//SimpleFieldAssign//sourceId:1703928_1
retData.setAchievementTypeNumber(queryAchievementDetailComRespDto_1.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1703929_1
retData.setAchievementCategoryId(queryAchievementDetailComRespDto_1.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1703932_1
retData.setAchievementCategoryNumber(queryAchievementDetailComRespDto_1.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1703934_1
retData.setAchievementGradeId(queryAchievementDetailComRespDto_1.getAchievementGradeId());//SimpleFieldAssign//sourceId:1703935_1
retData.setAchievementGradeNumber(queryAchievementDetailComRespDto_1.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1703936_1
retData.setAwardedTime(queryAchievementDetailComRespDto_1.getAwardedTime());//SimpleFieldAssign//sourceId:1703937_1
    }
if(queryAchievementTypeDetailComRespDto_1!=null){
      retData.setAchievementTypeName(queryAchievementTypeDetailComRespDto_1.getAchievementTypeName());//SimpleFieldAssign//sourceId:1703930_1
    }
if(queryAchievementCategoryDetailComRespDto_1!=null){
      retData.setAchievementCategoryName(queryAchievementCategoryDetailComRespDto_1.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1703933_1
    }
if(queryAchievementGradeDetailComRespDto_1!=null){
      retData.setAchievementGradeName(queryAchievementGradeDetailComRespDto_1.getAchievementGradeName());//SimpleFieldAssign//sourceId:1703931_1
    }




return retData;
  }
/**
   * D3批量查询成果(公共)[9259]
   * gen by moon at 7/19/2024, 12:05:46 AM
   */
  @Trace(operationName = "D3批量查询成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementComRespDto batchQueryAchievementCom(BatchQueryAchievementComReqDto reqDto){


      List<OmsAchievement> listOmsAchievement_1 =new ArrayList<>();
//步骤0: 3-10-01批量查询成果 - batchQueryAchievement
     List<OmsAchievement> listOmsAchievement =new ArrayList<>();
    BatchQueryAchievementReq batchQueryAchievementReq=new BatchQueryAchievementReq();
  if(reqDto!=null){
      batchQueryAchievementReq.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1695886_1
batchQueryAchievementReq.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1937529_1
batchQueryAchievementReq.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1695916_1
batchQueryAchievementReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1695910_1
batchQueryAchievementReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1695911_1
batchQueryAchievementReq.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1937602_1
batchQueryAchievementReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1695912_1
batchQueryAchievementReq.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1937530_1
batchQueryAchievementReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1695913_1
batchQueryAchievementReq.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1695914_1
batchQueryAchievementReq.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1695915_1
batchQueryAchievementReq.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1937531_1
batchQueryAchievementReq.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1695917_1
batchQueryAchievementReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1695920_1
batchQueryAchievementReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1695921_1
    }

    /*3-10-01批量查询成果[9260]   */
    Assert.isNull(batchQueryAchievementReq.getSpaceId(),"D3批量查询成果(公共)-3-10-01批量查询成果-创建于空间ID不能为空",false);
      listOmsAchievement = mOmsAchievementService.batchQueryAchievement(batchQueryAchievementReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievement_1 = listOmsAchievement;

BatchQueryAchievementComRespDto retData = new BatchQueryAchievementComRespDto();
  retData.setAchievementList(listOmsAchievement_1.stream().map(item -> BeanUtil.toBean(item, AchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1695936_1




return retData;
  }
/**
   * D3查询可对接成果列表(公共)[9316]
   * gen by moon at 4/7/2024, 9:38:39 AM
   */
  @Trace(operationName = "D3查询可对接成果列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryCanDockAchievementListComRespDto queryCanDockAchievementListCom(QueryCanDockAchievementListComReqDto reqDto){


      ImplementEightReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getDockAchievementSence() !=null && reqDto.getDockAchievementSence().equals("ACHIEVEMENT_BY_LIABLE"))) {
        //if(D3查询可对接成果列表(公共).对接成果场景 等于 按指标负责人查询相关成果)  66365

QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
    QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto=new QueryAchievementTeamMemberListComReqDto();
  queryAchievementTeamMemberListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1704171_1_66366
if(reqDto!=null){
      queryAchievementTeamMemberListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1704168_1_66366
queryAchievementTeamMemberListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1704172_1_66366
    }

    /*D3查询成果团队成员列表(公共)[9208]   */
    Assert.isNull(queryAchievementTeamMemberListComReqDto.getOriginalRoleMemberId(),"D3查询可对接成果列表(公共)-D3查询成果团队成员列表(公共)-身份人员ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSubjectLifeCycle(),"D3查询可对接成果列表(公共)-D3查询成果团队成员列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(),"D3查询可对接成果列表(公共)-D3查询成果团队成员列表(公共)-创建于空间ID不能为空",false);
      queryAchievementTeamMemberListComRespDto = queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto)/*vcase invoke 同服务,同domain*/;



//ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    if(queryAchievementTeamMemberListComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(queryAchievementTeamMemberListComRespDto.getAchievementTeamList())){
      receptionServiceReq.setAchievementList(queryAchievementTeamMemberListComRespDto.getAchievementTeamList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1708823_1_66373
    }

        // TODO: 2024/7/19 分页手写代码
        receptionServiceReq.setPageNum(reqDto.getPageNum());
        receptionServiceReq.setPageSize(reqDto.getPageSize());

    /*M3接收可对接成果列表[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbAchievement.implementEightReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getDockAchievementSence() !=null && reqDto.getDockAchievementSence().equals("ACHIEVEMENT_BY_ COPYRIGHT_DEPT"))){
       //elseif(D3查询可对接成果列表(公共).对接成果场景 等于 按版权归属部门查询相关成果)  66367

QueryCurObjectiveRelateDeptDetailComRespDto queryCurObjectiveRelateDeptDetailComRespDto = null;
    QueryCurObjectiveRelateDeptDetailComReqDto queryCurObjectiveRelateDeptDetailComReqDto=new QueryCurObjectiveRelateDeptDetailComReqDto();
  if(reqDto!=null){
      queryCurObjectiveRelateDeptDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1708316_1_66368
queryCurObjectiveRelateDeptDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1708317_1_66368
queryCurObjectiveRelateDeptDetailComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1708318_1_66368
    }

    /*D3查询当前指标相关部门(公共)[9335]   */
    Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto.getObjectiveId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-指标ID不能为空",false);
Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto.getEvaluationTemplateId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto.getSpaceId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-创建于空间ID不能为空",false);
      queryCurObjectiveRelateDeptDetailComRespDto = smallCircleCommonService.queryCurObjectiveRelateDeptDetailCom(queryCurObjectiveRelateDeptDetailComReqDto)/*vcase invoke isSameApp*/;



QueryAchievementCopyrightOwningListComRespDto queryAchievementCopyrightOwningListComRespDto = null;
    if(queryCurObjectiveRelateDeptDetailComRespDto !=null){
          QueryAchievementCopyrightOwningListComReqDto queryAchievementCopyrightOwningListComReqDto=new QueryAchievementCopyrightOwningListComReqDto();
  queryAchievementCopyrightOwningListComReqDto.setCopyrightObjectTypeCode("DEPARTMENT");//sourceId:1708296_1_66369
queryAchievementCopyrightOwningListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1708298_1_66369
if(queryCurObjectiveRelateDeptDetailComRespDto!=null){
      queryAchievementCopyrightOwningListComReqDto.setCopyrightObjectId(queryCurObjectiveRelateDeptDetailComRespDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1708304_1_66369
    }
if(reqDto!=null){
      queryAchievementCopyrightOwningListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1708299_1_66369
    }

    /*D3查询成果版权归属列表-按版权归属对象查[9252]   */
    Assert.isNull(queryAchievementCopyrightOwningListComReqDto.getCopyrightObjectTypeCode(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按版权归属对象查-版权归属对象类型不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningListComReqDto.getCopyrightObjectId(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按版权归属对象查-版权归属对象ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningListComReqDto.getSubjectLifeCycle(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按版权归属对象查-主体生命周期不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningListComReqDto.getSpaceId(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按版权归属对象查-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningListComRespDto = queryAchievementCopyrightOwningListCom(queryAchievementCopyrightOwningListComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes_2 = null;
    if(queryAchievementCopyrightOwningListComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq_1=new ImplementEightReceivingFieldReqDto();
  if(queryAchievementCopyrightOwningListComRespDto!= null&&  queryAchievementCopyrightOwningListComRespDto.getAchievementCopyrightOwningList() !=null&& !CollectionUtil.isEmpty(queryAchievementCopyrightOwningListComRespDto.getAchievementCopyrightOwningList())){
      receptionServiceReq_1.setAchievementList(queryAchievementCopyrightOwningListComRespDto.getAchievementCopyrightOwningList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1708823_1_66379
    }

        // TODO: 2024/7/19 分页手写代码
        receptionServiceReq_1.setPageNum(reqDto.getPageNum());
        receptionServiceReq_1.setPageSize(reqDto.getPageSize());
    /*M3接收可对接成果列表[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbAchievement.implementEightReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
else if((reqDto!= null&&  reqDto.getDockAchievementSence() !=null && reqDto.getDockAchievementSence().equals("ACHIEVEMENT_BY_DUTY_DEPT"))){
       //elseif(D3查询可对接成果列表(公共).对接成果场景 等于 按业绩责任部门查询相关成果)  66370

QueryCurObjectiveRelateDeptDetailComRespDto queryCurObjectiveRelateDeptDetailComRespDto_2 = null;
    QueryCurObjectiveRelateDeptDetailComReqDto queryCurObjectiveRelateDeptDetailComReqDto_1=new QueryCurObjectiveRelateDeptDetailComReqDto();
  if(reqDto!=null){
      queryCurObjectiveRelateDeptDetailComReqDto_1.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1708316_1_66371
queryCurObjectiveRelateDeptDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1708317_1_66371
queryCurObjectiveRelateDeptDetailComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1708318_1_66371
    }

    /*D3查询当前指标相关部门(公共)[9335]   */
    Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto_1.getObjectiveId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-指标ID不能为空",false);
Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto_1.getEvaluationTemplateId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryCurObjectiveRelateDeptDetailComReqDto_1.getSpaceId(),"D3查询可对接成果列表(公共)-D3查询当前指标相关部门(公共)-创建于空间ID不能为空",false);
      queryCurObjectiveRelateDeptDetailComRespDto_2 = smallCircleCommonService.queryCurObjectiveRelateDeptDetailCom(queryCurObjectiveRelateDeptDetailComReqDto_1)/*vcase invoke isSameApp*/;



QueryAchievementCopyrightOwningListComRespDto queryAchievementCopyrightOwningListComRespDto_2 = null;
    if(queryCurObjectiveRelateDeptDetailComRespDto_2 !=null){
          QueryAchievementCopyrightOwningListComReqDto queryAchievementCopyrightOwningListComReqDto_1=new QueryAchievementCopyrightOwningListComReqDto();
  queryAchievementCopyrightOwningListComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1709088_1_66382
if(queryCurObjectiveRelateDeptDetailComRespDto_2!=null){
      queryAchievementCopyrightOwningListComReqDto_1.setDutyDeptId(queryCurObjectiveRelateDeptDetailComRespDto_2.getDutyDeptId());//SimpleFieldAssign//sourceId:1709087_1_66382
    }
if(reqDto!=null){
      queryAchievementCopyrightOwningListComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1709089_1_66382
    }

    /*D3查询成果版权归属列表-按业绩责任部门查[9252]   */
    Assert.isNull(queryAchievementCopyrightOwningListComReqDto_1.getDutyDeptId(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按业绩责任部门查-业绩责任部门ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningListComReqDto_1.getSubjectLifeCycle(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按业绩责任部门查-主体生命周期不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningListComReqDto_1.getSpaceId(),"D3查询可对接成果列表(公共)-D3查询成果版权归属列表-按业绩责任部门查-创建于空间ID不能为空",false);
      queryAchievementCopyrightOwningListComRespDto_2 = queryAchievementCopyrightOwningListCom(queryAchievementCopyrightOwningListComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
//ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes_3 = null;
    if(queryAchievementCopyrightOwningListComRespDto_2 !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq_2=new ImplementEightReceivingFieldReqDto();
  if(queryAchievementCopyrightOwningListComRespDto_2!= null&&  queryAchievementCopyrightOwningListComRespDto_2.getAchievementCopyrightOwningList() !=null&& !CollectionUtil.isEmpty(queryAchievementCopyrightOwningListComRespDto_2.getAchievementCopyrightOwningList())){
      receptionServiceReq_2.setAchievementList(queryAchievementCopyrightOwningListComRespDto_2.getAchievementCopyrightOwningList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1708823_1_66375
    }

        // TODO: 2024/7/19 分页手写代码
        receptionServiceReq_2.setPageNum(reqDto.getPageNum());
        receptionServiceReq_2.setPageSize(reqDto.getPageSize());
    /*M3接收可对接成果列表[8691]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbAchievement.implementEightReceivingField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
           }
    }
QueryCanDockAchievementListComRespDto retData = new QueryCanDockAchievementListComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setAchievementList(receptionServiceRes_1.getAchievementList());//list-field-assign//sourceId:1709098_1
    }

      if(receptionServiceRes_1!=null && CollectionUtil.isNotEmpty(receptionServiceRes_1.getAchievementList())){
          retData.setPageNum(receptionServiceRes_1.getPageNum());
          retData.setPageSize(receptionServiceRes_1.getPageSize());
          retData.setTotalNum(receptionServiceRes_1.getTotalNum());
      }



return retData;
  }
/**
   * D3批量查询成果分页信息(公共)[9317]
   * gen by moon at 8/15/2024, 7:15:07 PM
   */
  @Trace(operationName = "D3批量查询成果分页信息(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementInfoComRespDto batchQueryAchievementInfoCom(BatchQueryAchievementInfoComReqDto reqDto){


      BatchQueryAchievementComRespDto batchQueryAchievementComRespDto_1 =null;
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 =null;
BatchQueryAchievementCopyrightOwningComRespDto batchQueryAchievementCopyrightOwningComRespDto_1 =null;
BatchQueryDeptComRespDto batchQueryDeptComRespDto_1 =null;
if((reqDto!= null&&  reqDto.getAchievementList() !=null && reqDto.getAchievementList().size()>0)) {
        //if(D3查询团队成员的成果列表(公共).成果列表数据集条数 大于 0)  66281

BatchQueryAchievementComRespDto batchQueryAchievementComRespDto = null;
    BatchQueryAchievementComReqDto batchQueryAchievementComReqDto=new BatchQueryAchievementComReqDto();
if(reqDto!=null){
      batchQueryAchievementComReqDto.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1704174_1_66282
batchQueryAchievementComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1938181_1_66282
batchQueryAchievementComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1941671_1_66282
batchQueryAchievementComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1938189_1_66282
batchQueryAchievementComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1938180_1_66282
batchQueryAchievementComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1941668_1_66282
batchQueryAchievementComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1941669_1_66282
batchQueryAchievementComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1941670_1_66282
batchQueryAchievementComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1938187_1_66282
batchQueryAchievementComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1938188_1_66282
batchQueryAchievementComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1704186_1_66282
    }

    /*D3批量查询成果(公共)[9259]   */
    Assert.isNull(batchQueryAchievementComReqDto.getSpaceId(),"D3批量查询成果分页信息(公共)-D3批量查询成果(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementComRespDto = batchQueryAchievementCom(batchQueryAchievementComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementComRespDto_1 = batchQueryAchievementComRespDto;
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto = null;
    if(batchQueryAchievementComRespDto !=null){
          BatchQueryAchievementTypeAndLevelEtcInfoComReqDto batchQueryAchievementTypeAndLevelEtcInfoComReqDto=new BatchQueryAchievementTypeAndLevelEtcInfoComReqDto();

        batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setAchievementInfoList(batchQueryAchievementComRespDto.getAchievementList().stream().map(item -> BeanUtil.toBean(item, AchievementInfoDto.class)).collect(Collectors.toList()));

        if(reqDto!=null){
      batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1704189_1_66284
    }

    /*D3批量查询成果类型及等级等信息(公共)[9264]   */
    Assert.isNull(batchQueryAchievementTypeAndLevelEtcInfoComReqDto.getSpaceId(),"D3批量查询成果分页信息(公共)-D3批量查询成果类型及等级等信息(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementTypeAndLevelEtcInfoComRespDto = batchQueryAchievementTypeAndLevelEtcInfoCom(batchQueryAchievementTypeAndLevelEtcInfoComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 = batchQueryAchievementTypeAndLevelEtcInfoComRespDto;
           }
BatchQueryAchievementCopyrightOwningComRespDto batchQueryAchievementCopyrightOwningComRespDto = null;
    if(batchQueryAchievementComRespDto !=null){
          BatchQueryAchievementCopyrightOwningComReqDto batchQueryAchievementCopyrightOwningComReqDto=new BatchQueryAchievementCopyrightOwningComReqDto();
if(batchQueryAchievementComRespDto!= null&&  batchQueryAchievementComRespDto.getAchievementList() !=null&& !CollectionUtil.isEmpty(batchQueryAchievementComRespDto.getAchievementList())){
      batchQueryAchievementCopyrightOwningComReqDto.setAchievementList(batchQueryAchievementComRespDto.getAchievementList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1706892_1_66341
    }
if(reqDto!=null){
      batchQueryAchievementCopyrightOwningComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1706898_1_66341
    }

    /*D3批量查询成果版权归属(公共)[9331]   */
    Assert.isNull(batchQueryAchievementCopyrightOwningComReqDto.getSpaceId(),"D3批量查询成果分页信息(公共)-D3批量查询成果版权归属(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementCopyrightOwningComRespDto = batchQueryAchievementCopyrightOwningCom(batchQueryAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementCopyrightOwningComRespDto_1 = batchQueryAchievementCopyrightOwningComRespDto;
           }
BatchQueryDeptComRespDto batchQueryDeptComRespDto = null;
    if(batchQueryAchievementComRespDto !=null){
          BatchQueryDeptComReqDto batchQueryDeptComReqDto=new BatchQueryDeptComReqDto();
  if(batchQueryAchievementComRespDto!= null&&  batchQueryAchievementComRespDto.getAchievementList() !=null&& !CollectionUtil.isEmpty(batchQueryAchievementComRespDto.getAchievementList())){
      batchQueryDeptComReqDto.setDeptList(batchQueryAchievementComRespDto.getAchievementList().stream().map(item->item.getDutyDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1939175_1_71741
    }

    /*D1批量查询部门(公共)[7511]   */

      batchQueryDeptComRespDto = fwBaseOrgClient.batchQueryDeptCom(batchQueryDeptComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryDeptComRespDto_1 = batchQueryDeptComRespDto;
           }
      }
BatchQueryAchievementInfoComRespDto retData = new BatchQueryAchievementInfoComRespDto();
  //数据集融合  MoreListToOneSource
        if(batchQueryAchievementComRespDto_1!= null && !CollectionUtil.isEmpty(batchQueryAchievementComRespDto_1.getAchievementList()) ){
          for (AchievementDto achievementDto : batchQueryAchievementComRespDto_1.getAchievementList()) {
              AchievementDto retElm = new AchievementDto();
             if(batchQueryAchievementComRespDto_1!=null){
      retElm.setAchievementId(achievementDto.getAchievementId());//SimpleFieldAssign//sourceId:360713_2
retElm.setAchievementNumber(achievementDto.getAchievementNumber());//SimpleFieldAssign//sourceId:395432_2
retElm.setAchievementName(achievementDto.getAchievementName());//SimpleFieldAssign//sourceId:360714_2
retElm.setRelatedDocument(achievementDto.getRelatedDocument());//SimpleFieldAssign//sourceId:395433_2
retElm.setAwardedUnit(achievementDto.getAwardedUnit());//SimpleFieldAssign//sourceId:395434_2
retElm.setAwardedTime(achievementDto.getAwardedTime());//SimpleFieldAssign//sourceId:360715_2
retElm.setValidEndTime(achievementDto.getValidEndTime());//SimpleFieldAssign//sourceId:360716_2
retElm.setIsSymbolicAchievements(achievementDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:360720_2
retElm.setAchievementTypeId(achievementDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:360717_2
retElm.setAchievementCategoryId(achievementDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:360718_2
retElm.setAchievementGradeId(achievementDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:378944_2
retElm.setAchievementBusinessGradeId(achievementDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:378945_2
retElm.setDutyDeptId(achievementDto.getDutyDeptId());//SimpleFieldAssign//sourceId:395435_2
    }
              retData.getAchievementList().add(retElm);
               if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!= null){
          for (AchievementInfoDto achievementInfoDto : batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1.getAchievementInfoList()) {
                if (achievementInfoDto.getAchievementId().equals(achievementDto.getAchievementId())) {
                 if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!=null){
retElm.setAchievementTypeNumber(achievementInfoDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:360721_2
retElm.setAchievementTypeName(achievementInfoDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:386351_2
retElm.setAchievementCategoryNumber(achievementInfoDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:360724_2
retElm.setAchievementCategoryName(achievementInfoDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:360725_2
retElm.setAchievementGradeNumber(achievementInfoDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:378952_2
retElm.setAchievementGradeName(achievementInfoDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:378953_2
retElm.setAchievementBusinessGradeNumber(achievementInfoDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:378954_2
retElm.setAchievementBusinessGradeName(achievementInfoDto.getAchievementBusinessGradeName());//SimpleFieldAssign//sourceId:378955_2
retElm.setBelongName(achievementInfoDto.getBelongName());//SimpleFieldAssign//sourceId:360723_2
    }
                }
            }
          }

 if(batchQueryAchievementCopyrightOwningComRespDto_1!= null){
          for (AchievementCopyrightOwningDto achievementCopyrightOwningDto : batchQueryAchievementCopyrightOwningComRespDto_1.getAchievementCopyrightOwningList()) {
                if (achievementCopyrightOwningDto.getAchievementId().equals(achievementDto.getAchievementId())) {
                 if(batchQueryAchievementCopyrightOwningComRespDto_1!=null){
      retElm.setCopyrightObjectId(achievementCopyrightOwningDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:395973_2
retElm.setCopyrightObjectTypeCode(achievementCopyrightOwningDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:395974_2
      retElm.setCopyrightObjectName(achievementCopyrightOwningDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:386693_2
    }
                }
            }
          }

 if(batchQueryDeptComRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(achievementDto.getDutyDeptId())) {
                 if(batchQueryDeptComRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:395960_2
    }
                }
            }
          }

          }
        }//sourceId:1785769_1




return retData;
  }
/**
   * D3批量查询成果版权归属(公共)[9331]
   * gen by moon at 4/7/2024, 9:06:49 AM
   */
  @Trace(operationName = "D3批量查询成果版权归属(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementCopyrightOwningComRespDto batchQueryAchievementCopyrightOwningCom(BatchQueryAchievementCopyrightOwningComReqDto reqDto){


      List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning_1 =new ArrayList<>();
//步骤0: 3-10-07批量查询成果版权归属 - batchQueryAchievementCopyrightOwning
     List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning =new ArrayList<>();
    BatchQueryAchievementCopyrightOwningReq batchQueryAchievementCopyrightOwningReq=new BatchQueryAchievementCopyrightOwningReq();
  if(reqDto!=null){
      batchQueryAchievementCopyrightOwningReq.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1706819_1
batchQueryAchievementCopyrightOwningReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1706824_1
batchQueryAchievementCopyrightOwningReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1706825_1
batchQueryAchievementCopyrightOwningReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1706826_1
batchQueryAchievementCopyrightOwningReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1706820_1
batchQueryAchievementCopyrightOwningReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1706821_1
batchQueryAchievementCopyrightOwningReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1706822_1
    }

    /*3-10-07批量查询成果版权归属[9330]   */

      listOmsAchievementCopyrightOwning = mOmsAchievementCopyrightOwningService.batchQueryAchievementCopyrightOwning(batchQueryAchievementCopyrightOwningReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementCopyrightOwning_1 = listOmsAchievementCopyrightOwning;

BatchQueryAchievementCopyrightOwningComRespDto retData = new BatchQueryAchievementCopyrightOwningComRespDto();
  retData.setAchievementCopyrightOwningList(listOmsAchievementCopyrightOwning_1.stream().map(item -> BeanUtil.toBean(item, AchievementCopyrightOwningDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1706844_1




return retData;
  }
/**
   * D3批量查询对接成果关系by归属目标内容ID(公共)[9568]
   * gen by moon at 5/13/2024, 2:47:18 AM
   */
  @Trace(operationName = "D3批量查询对接成果关系by归属目标内容ID(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementDockingByTargetCycleContentIdComRespDto batchQueryAchievementDockingByTargetCycleContentIdCom(BatchQueryAchievementDockingByTargetCycleContentIdComReqDto reqDto){


      List<OmsAchievementDocking> listOmsAchievementDocking_1 =new ArrayList<>();
//步骤0: 3-10-08批量查询对接成果关系by归属目标内容ID - batchQueryAchievementDockingByTargetCycleContentId
     List<OmsAchievementDocking> listOmsAchievementDocking =new ArrayList<>();
    BatchQueryAchievementDockingByTargetCycleContentIdReq batchQueryAchievementDockingByTargetCycleContentIdReq=new BatchQueryAchievementDockingByTargetCycleContentIdReq();
  if(reqDto!=null){
      batchQueryAchievementDockingByTargetCycleContentIdReq.setAchievementDockList(reqDto.getAchievementDockList());//list-field-assign//sourceId:1794119_1
batchQueryAchievementDockingByTargetCycleContentIdReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1794120_1
batchQueryAchievementDockingByTargetCycleContentIdReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1794121_1
batchQueryAchievementDockingByTargetCycleContentIdReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1794122_1
batchQueryAchievementDockingByTargetCycleContentIdReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1794123_1
    }

    /*3-10-08批量查询对接成果关系by归属目标内容ID[9567]   */

      listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryAchievementDockingByTargetCycleContentId(batchQueryAchievementDockingByTargetCycleContentIdReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementDocking_1 = listOmsAchievementDocking;

BatchQueryAchievementDockingByTargetCycleContentIdComRespDto retData = new BatchQueryAchievementDockingByTargetCycleContentIdComRespDto();
  retData.setAchievementDockList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1794125_1




return retData;
  }
/**
   * D3查询个人标志性成果列表(公共)[9569]
   * gen by moon at 7/19/2024, 12:06:05 AM
   */
  @Trace(operationName = "D3查询个人标志性成果列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryPersonalSymbolicAchievementsListComRespDto queryPersonalSymbolicAchievementsListCom(QueryPersonalSymbolicAchievementsListComReqDto reqDto){


      BatchQueryAchievementComRespDto batchQueryAchievementComRespDto_1 =null;
//virtualUsage D3查询小圈子成员列表(公共)  68349
      QueryVirtualOrgMemListComRespDto queryVirtualOrgMemListComRespDto = null;
    QueryVirtualOrgMemListComReqDto queryVirtualOrgMemListComReqDto=new QueryVirtualOrgMemListComReqDto();
queryVirtualOrgMemListComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1794506_1_68349
queryVirtualOrgMemListComReqDto.setIsPersonCharge("TRUE");//sourceId:1794507_1_68349
queryVirtualOrgMemListComReqDto.setIsArchive("FALSE");//sourceId:1794508_1_68349
if(reqDto!=null){
      queryVirtualOrgMemListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1794504_1_68349
queryVirtualOrgMemListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1794505_1_68349
      queryVirtualOrgMemListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1794510_1_68349
    }

    /*D3查询小圈子成员列表(公共)[8698]   */
    Assert.isNull(queryVirtualOrgMemListComReqDto.getOriginalRoleMemberId(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-身份人员ID不能为空",false);
//Assert.isNull(queryVirtualOrgMemListComReqDto.getTableTypeCode(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-冗余内容表类型编码不能为空",false);
Assert.isNull(queryVirtualOrgMemListComReqDto.getUseScene(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryVirtualOrgMemListComReqDto.getIsPersonCharge(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-是否负责人不能为空",false);
Assert.isNull(queryVirtualOrgMemListComReqDto.getIsArchive(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-是否存档不能为空",false);
//Assert.isNull(queryVirtualOrgMemListComReqDto.getEvaluationTemplateId(),"D3查询个人标志性成果列表(公共)-D3查询小圈子成员列表(公共)-归属对象ID不能为空",false);
      queryVirtualOrgMemListComRespDto = virtualOrgService.queryVirtualOrgMemListCom(queryVirtualOrgMemListComReqDto)/*vcase invoke isSameApp*/;



if((queryVirtualOrgMemListComRespDto!= null&&  queryVirtualOrgMemListComRespDto.getVirtualOrgMemberList() !=null && queryVirtualOrgMemListComRespDto.getVirtualOrgMemberList().size()>0)) {
        //if(D3查询当前身份人员负责的小圈子列表(公共).虚拟组织成员列表数据集条数 大于 0)  68350

BatchQueryAchievementDockingByTargetCycleContentIdComRespDto batchQueryAchievementDockingByTargetCycleContentIdComRespDto = null;
    if(queryVirtualOrgMemListComRespDto !=null){
          BatchQueryAchievementDockingByTargetCycleContentIdComReqDto batchQueryAchievementDockingByTargetCycleContentIdComReqDto=new BatchQueryAchievementDockingByTargetCycleContentIdComReqDto();
  batchQueryAchievementDockingByTargetCycleContentIdComReqDto.setIsSymbolicAchievement("TRUE");//sourceId:1794515_1_68351
batchQueryAchievementDockingByTargetCycleContentIdComReqDto.setIsArchive("FALSE");//sourceId:1794516_1_68351
batchQueryAchievementDockingByTargetCycleContentIdComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1794517_1_68351
if(queryVirtualOrgMemListComRespDto!= null&&  queryVirtualOrgMemListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryVirtualOrgMemListComRespDto.getVirtualOrgMemberList())){
      batchQueryAchievementDockingByTargetCycleContentIdComReqDto.setAchievementDockList(queryVirtualOrgMemListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1794514_1_68351
    }

    /*D3批量查询对接成果关系by归属目标内容ID(公共)[9568]   */
    Assert.isNull(batchQueryAchievementDockingByTargetCycleContentIdComReqDto.getIsSymbolicAchievement(),"D3查询个人标志性成果列表(公共)-D3批量查询对接成果关系by归属目标内容ID(公共)-是否标志性成果不能为空",false);
Assert.isNull(batchQueryAchievementDockingByTargetCycleContentIdComReqDto.getIsArchive(),"D3查询个人标志性成果列表(公共)-D3批量查询对接成果关系by归属目标内容ID(公共)-是否存档不能为空",false);
Assert.isNull(batchQueryAchievementDockingByTargetCycleContentIdComReqDto.getSpaceId(),"D3查询个人标志性成果列表(公共)-D3批量查询对接成果关系by归属目标内容ID(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementDockingByTargetCycleContentIdComRespDto = batchQueryAchievementDockingByTargetCycleContentIdCom(batchQueryAchievementDockingByTargetCycleContentIdComReqDto)/*vcase invoke 同服务,同domain*/;



           }
if((batchQueryAchievementDockingByTargetCycleContentIdComRespDto!= null&&  batchQueryAchievementDockingByTargetCycleContentIdComRespDto.getAchievementDockList() !=null && batchQueryAchievementDockingByTargetCycleContentIdComRespDto.getAchievementDockList().size()>0)) {
        //if(D3通过指标查询标志性成果对接关系列表.成果对接关系列表数据集条数 大于 0)  68352

BatchQueryAchievementComRespDto batchQueryAchievementComRespDto = null;
    if(batchQueryAchievementDockingByTargetCycleContentIdComRespDto !=null){
          BatchQueryAchievementComReqDto batchQueryAchievementComReqDto=new BatchQueryAchievementComReqDto();
  batchQueryAchievementComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1794529_1_68353
if(batchQueryAchievementDockingByTargetCycleContentIdComRespDto!= null&&  batchQueryAchievementDockingByTargetCycleContentIdComRespDto.getAchievementDockList() !=null&& !CollectionUtil.isEmpty(batchQueryAchievementDockingByTargetCycleContentIdComRespDto.getAchievementDockList())){
      batchQueryAchievementComReqDto.setAchievementList(batchQueryAchievementDockingByTargetCycleContentIdComRespDto.getAchievementDockList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1794519_1_68353
    }
if(reqDto!=null){
      batchQueryAchievementComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1937535_1_68353
batchQueryAchievementComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1937521_1_68353
batchQueryAchievementComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1937522_1_68353
batchQueryAchievementComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1937523_1_68353
batchQueryAchievementComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1937604_1_68353
batchQueryAchievementComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1937537_1_68353
batchQueryAchievementComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1937539_1_68353
batchQueryAchievementComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1937524_1_68353
batchQueryAchievementComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1937525_1_68353
    }

    /*D3批量查询成果(公共)[9259]   */
    Assert.isNull(batchQueryAchievementComReqDto.getSpaceId(),"D3查询个人标志性成果列表(公共)-D3批量查询成果(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementComRespDto = batchQueryAchievementCom(batchQueryAchievementComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementComRespDto_1 = batchQueryAchievementComRespDto;
           }
      }
      }
QueryPersonalSymbolicAchievementsListComRespDto retData = new QueryPersonalSymbolicAchievementsListComRespDto();
  if(batchQueryAchievementComRespDto_1!=null){
      retData.setAchievementList(batchQueryAchievementComRespDto_1.getAchievementList().stream().map(item -> BeanUtil.toBean(item, AchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1794531_1
    }




return retData;
  }
/**
   * D3分析成果冗余状态(公共)[9965]
   * gen by moon at 7/24/2024, 10:05:12 PM
   */
  @Trace(operationName = "D3分析成果冗余状态(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AnalysisAchiveStateCodeComRespDto analysisAchiveStateCodeCom(AnalysisAchiveStateCodeComReqDto reqDto){


      OmsAchievementCopyrightOwning omsAchievementCopyrightOwning_1 =null;
      ImplementElevenReceivingFieldRespDto receptionServiceRes_3 =null;
ImplementElevenReceivingFieldRespDto receptionServiceRes_5 =null;
ImplementElevenReceivingFieldRespDto receptionServiceRes_7 =null;
//virtualUsage M3约定成果冗余状态、主体生命周期、当前就职记录ID  71634
      //ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  receptionServiceReq.setCustomField1("TO_BE_RELEASED");//CUSTOM_CONVENTION//sourceId:1935939_1_71634
receptionServiceReq.setCustomField2("AUDIT");//CUSTOM_CONVENTION//sourceId:1935940_1_71634
receptionServiceReq.setCustomField3("TO_BE_CERTIFIED");//CUSTOM_CONVENTION//sourceId:1935941_1_71634
receptionServiceReq.setCustomField4("CERT_SUCCESS");//CUSTOM_CONVENTION//sourceId:1935942_1_71634
receptionServiceReq.setCustomField5("CERT_FAIL");//CUSTOM_CONVENTION//sourceId:1935943_1_71634
receptionServiceReq.setCustomField9("ARCHIVING");//CUSTOM_CONVENTION//sourceId:1937140_1_71634
receptionServiceReq.setCustomField6("EDITING");//CUSTOM_CONVENTION//sourceId:1936321_1_71634
receptionServiceReq.setCustomField7("CURRENTLY_VALID");//CUSTOM_CONVENTION//sourceId:1936322_1_71634
receptionServiceReq.setCustomField8(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1936709_1_71634
receptionServiceReq.setCustomField10("TRUE");//CUSTOM_CONVENTION//sourceId:1937146_1_71634
receptionServiceReq.setCustomField11("FALSE");//CUSTOM_CONVENTION//sourceId:1937147_1_71634

    /*M3约定成果冗余状态、主体生命周期、当前就职记录ID[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField1(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段1不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField2(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段2不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField3(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段3不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField4(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段4不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField5(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段5不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField9(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段9不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField6(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段6不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField7(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段7不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField8(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段8不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField10(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段10不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField11(),"D3分析成果冗余状态(公共)-M3约定成果冗余状态、主体生命周期、当前就职记录ID-自定义字段11不能为空",false);
      receptionServiceRes = nbAchievement.implementElevenReceivingField(receptionServiceReq);



//virtualUsage 3-10-01查询成果详情  71635
      OmsAchievement omsAchievement = null;
    QueryAchievementDetailReq queryAchievementDetailReq=new QueryAchievementDetailReq();
if(reqDto!=null){
      queryAchievementDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1935926_1_71635
queryAchievementDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1935927_1_71635
    }

    /*3-10-01查询成果详情[9124]   */
    Assert.isNull(queryAchievementDetailReq.getAchievementId(),"D3分析成果冗余状态(公共)-3-10-01查询成果详情-成果ID不能为空",false);
Assert.isNull(queryAchievementDetailReq.getSpaceId(),"D3分析成果冗余状态(公共)-3-10-01查询成果详情-创建于空间ID不能为空",false);
      omsAchievement = mOmsAchievementService.queryAchievementDetail(queryAchievementDetailReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage 3-10-07查询成果版权归属详情  71710
      OmsAchievementCopyrightOwning omsAchievementCopyrightOwning = null;
    QueryAchievementCopyrightOwningDetailReq queryAchievementCopyrightOwningDetailReq=new QueryAchievementCopyrightOwningDetailReq();
  if(reqDto!=null){
      queryAchievementCopyrightOwningDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1937113_1_71710
queryAchievementCopyrightOwningDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1937120_1_71710
    }

    /*3-10-07查询成果版权归属详情[9131]   */
    Assert.isNull(queryAchievementCopyrightOwningDetailReq.getAchievementId(),"D3分析成果冗余状态(公共)-3-10-07查询成果版权归属详情-成果ID不能为空",false);
Assert.isNull(queryAchievementCopyrightOwningDetailReq.getSpaceId(),"D3分析成果冗余状态(公共)-3-10-07查询成果版权归属详情-创建于空间ID不能为空",false);
      omsAchievementCopyrightOwning = mOmsAchievementCopyrightOwningService.queryAchievementCopyrightOwningDetail(queryAchievementCopyrightOwningDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsAchievementCopyrightOwning_1 = omsAchievementCopyrightOwning;
if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("ADD_EDIT_ACHIVE_TO_RELEASED"))) {
        //if(D3分析成果冗余状态(公共).成果操作类型 等于 新增草稿成果-空转待发布)  71636

if((omsAchievement!= null&& omsAchievement.getAchivementStateCode() == null &&omsAchievement!= null&& omsAchievement.getSubjectLifeCycle() == null &&omsAchievement!= null&& omsAchievement.getIsArchive() == null &&omsAchievementCopyrightOwning!= null&& omsAchievementCopyrightOwning.getSubjectLifeCycle() == null &&omsAchievementCopyrightOwning!= null&& omsAchievementCopyrightOwning.getIsArchive() == null )) {
        //if((3-10-01查询成果详情.成果冗余状态 值等于空  and 3-10-01查询成果详情.主体生命周期 值等于空  and 3-10-01查询成果详情.是否存档 值等于空  and 3-10-07查询成果版权归属详情.主体生命周期 值等于空  and 3-10-07查询成果版权归属详情.是否存档 值等于空 ))  71638

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_1=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setAchivementStateCode(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1935937_1_71639
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_2 = nbAchievement.implementElevenReceivingField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_4 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_2=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_2.setSubjectLifeCycle(receptionServiceRes.getCustomField6());//SimpleFieldAssign//sourceId:1936314_1_71692
    }

    /*M3接收出参：生命周期[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_4 = nbAchievement.implementElevenReceivingField(receptionServiceReq_2);


      receptionServiceRes_5 = receptionServiceRes_4;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_6 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_3=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_3.setIsArchive(receptionServiceRes.getCustomField11());//SimpleFieldAssign//sourceId:1937509_1_71717
    }

    /*M3-接收字段：是否存档[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getIsArchive(),"D3分析成果冗余状态(公共)-M3-接收字段：是否存档-是否存档不能为空",false);
      receptionServiceRes_6 = nbAchievement.implementElevenReceivingField(receptionServiceReq_3);


      receptionServiceRes_7 = receptionServiceRes_6;
      }
else{
       //else  71642

//异常结束 71643
      throw new BizException("3340000493","对不起，当前成果状态应该是空~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("CANCEL_ACHIVE_AUDIT_TO_RELEASED"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 撤销成果申请-待审核转待发布)  71644

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("AUDIT")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待审核 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71655

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_8 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_4=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_4.setAchivementStateCode(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1935937_1_71656
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_8 = nbAchievement.implementElevenReceivingField(receptionServiceReq_4);


      receptionServiceRes_3 = receptionServiceRes_8;
      }
else{
       //else  71657

//异常结束 71658
      throw new BizException("3340000495","对不起，当前成果状态应该是待审核~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("REJECT_AUDIT_TO_RELEASED"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 驳回成果申请（待审核）-待审核转待发布)  71646

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("AUDIT")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待审核 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71659

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_9 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_5=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_5.setAchivementStateCode(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1935937_1_71662
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_9 = nbAchievement.implementElevenReceivingField(receptionServiceReq_5);


      receptionServiceRes_3 = receptionServiceRes_9;
      }
else{
       //else  71660

//异常结束 71661
      throw new BizException("3340000495","对不起，当前成果状态应该是待审核~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("REJECT_CERT_TO_RELEASED"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 驳回成果（待认证）-待认证转待发布)  71648

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("TO_BE_CERTIFIED")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待认证 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71663

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_10 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_6=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_6.setAchivementStateCode(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1935937_1_71666
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_10 = nbAchievement.implementElevenReceivingField(receptionServiceReq_6);


      receptionServiceRes_3 = receptionServiceRes_10;
      }
else{
       //else  71664

//异常结束 71665
      throw new BizException("3340000496","对不起，当前成果状态应该是待认证~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("ADD_AUDIT_TO_AUDIT"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 新增待审核成果-空转待审核)  71650

if((omsAchievement!= null&& omsAchievement.getAchivementStateCode() == null &&omsAchievement!= null&& omsAchievement.getSubjectLifeCycle() == null &&omsAchievement!= null&& omsAchievement.getIsArchive() == null &&omsAchievementCopyrightOwning!= null&& omsAchievementCopyrightOwning.getSubjectLifeCycle() == null &&omsAchievementCopyrightOwning!= null&& omsAchievementCopyrightOwning.getIsArchive() == null )) {
        //if((3-10-01查询成果详情.成果冗余状态 值等于空  and 3-10-01查询成果详情.主体生命周期 值等于空  and 3-10-01查询成果详情.是否存档 值等于空  and 3-10-07查询成果版权归属详情.主体生命周期 值等于空  and 3-10-07查询成果版权归属详情.是否存档 值等于空 ))  71672

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_11 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_7=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_7.setAchivementStateCode(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:1935937_1_71675
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_7.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_11 = nbAchievement.implementElevenReceivingField(receptionServiceReq_7);


      receptionServiceRes_3 = receptionServiceRes_11;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_12 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_8=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_8.setSubjectLifeCycle(receptionServiceRes.getCustomField7());//SimpleFieldAssign//sourceId:1936314_1_71693
    }

    /*M3接收出参：生命周期[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_12 = nbAchievement.implementElevenReceivingField(receptionServiceReq_8);


      receptionServiceRes_5 = receptionServiceRes_12;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_13 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_9=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_9.setIsArchive(receptionServiceRes.getCustomField11());//SimpleFieldAssign//sourceId:1937509_1_71718
    }

    /*M3-接收字段：是否存档[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_9.getIsArchive(),"D3分析成果冗余状态(公共)-M3-接收字段：是否存档-是否存档不能为空",false);
      receptionServiceRes_13 = nbAchievement.implementElevenReceivingField(receptionServiceReq_9);


      receptionServiceRes_7 = receptionServiceRes_13;
      }
else{
       //else  71673

//异常结束 71674
      throw new BizException("3340000493","对不起，当前成果状态应该是空~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("ACHIVE_APPLY_TO_AUDIT"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 发起成果申请-待发布转待审核)  71651

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("TO_BE_RELEASED"))) {
        //if(3-10-01查询成果详情.成果冗余状态 等于 待发布)  71676

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_14 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_10=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_10.setAchivementStateCode(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:1935937_1_71679
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_10.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_14 = nbAchievement.implementElevenReceivingField(receptionServiceReq_10);


      receptionServiceRes_3 = receptionServiceRes_14;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_15 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_11=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_11.setSubjectLifeCycle(receptionServiceRes.getCustomField7());//SimpleFieldAssign//sourceId:1936314_1_71694
    }

    /*M3接收出参：生命周期[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_15 = nbAchievement.implementElevenReceivingField(receptionServiceReq_11);


      receptionServiceRes_5 = receptionServiceRes_15;
      }
else{
       //else  71677

//异常结束 71678
      throw new BizException("3340000494","对不起，当前成果状态应该是待发布~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("AGREE_ACHIVE_TO_CERT"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 同意成果申请-待审核转待认证)  71652

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("AUDIT")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待审核 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71680

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_16 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_12=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_12.setAchivementStateCode(receptionServiceRes.getCustomField3());//SimpleFieldAssign//sourceId:1935937_1_71683
receptionServiceReq_12.setAuditInductionId(receptionServiceRes.getCustomField8());//SimpleFieldAssign//sourceId:1936705_1_71683
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_12.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_16 = nbAchievement.implementElevenReceivingField(receptionServiceReq_12);


      receptionServiceRes_3 = receptionServiceRes_16;
      }
else{
       //else  71681

//异常结束 71682
      throw new BizException("3340000495","对不起，当前成果状态应该是待审核~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("CERT_AGREE_TO_SUCCESS"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 认证通过-待认证转认证成功)  71653

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("TO_BE_CERTIFIED")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待认证 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71684

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_17 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_13=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_13.setAchivementStateCode(receptionServiceRes.getCustomField4());//SimpleFieldAssign//sourceId:1935937_1_71687
receptionServiceReq_13.setAuthenInductionId(receptionServiceRes.getCustomField8());//SimpleFieldAssign//sourceId:1936706_1_71687
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_13.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_17 = nbAchievement.implementElevenReceivingField(receptionServiceReq_13);


      receptionServiceRes_3 = receptionServiceRes_17;
      }
else{
       //else  71685

//异常结束 71686
      throw new BizException("3340000496","对不起，当前成果状态应该是待认证~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("CERT_FAIL_TO_FAIL"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 认证失败-待认证转认证失败)  71654

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("TO_BE_CERTIFIED")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待认证 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71688

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_18 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_14=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_14.setAchivementStateCode(receptionServiceRes.getCustomField5());//SimpleFieldAssign//sourceId:1935937_1_71691
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_14.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_18 = nbAchievement.implementElevenReceivingField(receptionServiceReq_14);


      receptionServiceRes_3 = receptionServiceRes_18;
      }
else{
       //else  71689

//异常结束 71690
      throw new BizException("3340000496","对不起，当前成果状态应该是待认证~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("ACHIEVE_ACHIEVEMENT"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 存档成果)  71711

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("CERT_SUCCESS")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievement!= null&&  omsAchievement.getIsArchive() !=null && omsAchievement.getIsArchive().equals("FALSE")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getIsArchive() !=null && omsAchievementCopyrightOwning.getIsArchive().equals("FALSE"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 认证成功 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-01查询成果详情.是否存档 等于 否 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.是否存档 等于 否))  71713

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_19 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_15=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_15.setAchivementStateCode(receptionServiceRes.getCustomField9());//SimpleFieldAssign//sourceId:1935937_1_71714
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_15.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_19 = nbAchievement.implementElevenReceivingField(receptionServiceReq_15);


      receptionServiceRes_3 = receptionServiceRes_19;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_20 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_16=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_16.setSubjectLifeCycle(receptionServiceRes.getCustomField9());//SimpleFieldAssign//sourceId:1936314_1_71715
    }

    /*M3接收出参：生命周期[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_20 = nbAchievement.implementElevenReceivingField(receptionServiceReq_16);


      receptionServiceRes_5 = receptionServiceRes_20;
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_21 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_17=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_17.setIsArchive(receptionServiceRes.getCustomField10());//SimpleFieldAssign//sourceId:1937509_1_71716
    }

    /*M3-接收字段：是否存档[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_17.getIsArchive(),"D3分析成果冗余状态(公共)-M3-接收字段：是否存档-是否存档不能为空",false);
      receptionServiceRes_21 = nbAchievement.implementElevenReceivingField(receptionServiceReq_17);


      receptionServiceRes_7 = receptionServiceRes_21;
      }
else{
       //else  71719

//异常结束 71720
      throw new BizException("3340000497","对不起，当前成果状态应该是认证成功~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getAchiveOperateType() !=null && reqDto.getAchiveOperateType().equals("AGREE_ACHIVE_TO_SUCCESS"))){
       //elseif(D3分析成果冗余状态(公共).成果操作类型 等于 同意成果申请-待审核转认证成功)  71962

if((omsAchievement!= null&&  omsAchievement.getAchivementStateCode() !=null && omsAchievement.getAchivementStateCode().equals("AUDIT")&&omsAchievement!= null&&  omsAchievement.getSubjectLifeCycle() !=null && omsAchievement.getSubjectLifeCycle().equals("CURRENTLY_VALID")&&omsAchievementCopyrightOwning!= null&&  omsAchievementCopyrightOwning.getSubjectLifeCycle() !=null && omsAchievementCopyrightOwning.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
        //if((3-10-01查询成果详情.成果冗余状态 等于 待审核 and 3-10-01查询成果详情.主体生命周期 等于 当前有效 and 3-10-07查询成果版权归属详情.主体生命周期 等于 当前有效))  71964

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_22 = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq_18=new ImplementElevenReceivingFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_18.setAchivementStateCode(receptionServiceRes.getCustomField4());//SimpleFieldAssign//sourceId:1935937_1_71965
receptionServiceReq_18.setAuthenInductionId(receptionServiceRes.getCustomField8());//SimpleFieldAssign//sourceId:1936706_1_71965
    }

    /*M3接收出参：成果冗余状态[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_18.getAchivementStateCode(),"D3分析成果冗余状态(公共)-M3接收出参：成果冗余状态-成果冗余状态不能为空",false);
      receptionServiceRes_22 = nbAchievement.implementElevenReceivingField(receptionServiceReq_18);


      receptionServiceRes_3 = receptionServiceRes_22;
      }
else{
       //else  71966

//异常结束 71967
      throw new BizException("3340000495","对不起，当前成果状态应该是待审核~",false);
    }
    }
AnalysisAchiveStateCodeComRespDto retData = new AnalysisAchiveStateCodeComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setAchivementStateCode(receptionServiceRes_3.getAchivementStateCode());//SimpleFieldAssign//sourceId:1936328_1
retData.setAuditInductionId(receptionServiceRes_3.getAuditInductionId());//SimpleFieldAssign//sourceId:1936711_1
retData.setAuthenInductionId(receptionServiceRes_3.getAuthenInductionId());//SimpleFieldAssign//sourceId:1936712_1
    }
if(omsAchievementCopyrightOwning_1!=null){
      retData.setCopyrightObjectTypeCode(omsAchievementCopyrightOwning_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1939132_1
      retData.setAchievementCopyrightOwningId(omsAchievementCopyrightOwning_1.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1937134_1
    }
if(receptionServiceRes_5!=null){
      retData.setSubjectLifeCycle(receptionServiceRes_5.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1936329_1
    }
if(receptionServiceRes_7!=null){
      retData.setIsArchive(receptionServiceRes_7.getIsArchive());//SimpleFieldAssign//sourceId:1937515_1
    }




return retData;
  }
/**
   * D3修改成果冗余状态(公共)[9966]
   * gen by moon at 7/19/2024, 9:10:16 PM
   */
  @Trace(operationName = "D3修改成果冗余状态(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public UpdateAchiveStateCodeComRespDto updateAchiveStateCodeCom(UpdateAchiveStateCodeComReqDto reqDto){


      //virtualUsage D3分析成果冗余状态(公共)  71704
      AnalysisAchiveStateCodeComRespDto analysisAchiveStateCodeComRespDto = null;
    AnalysisAchiveStateCodeComReqDto analysisAchiveStateCodeComReqDto=new AnalysisAchiveStateCodeComReqDto();
  if(reqDto!=null){
      analysisAchiveStateCodeComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1936330_1_71704
analysisAchiveStateCodeComReqDto.setAchiveOperateType(reqDto.getAchiveOperateType());//SimpleFieldAssign//sourceId:1936331_1_71704
analysisAchiveStateCodeComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1936332_1_71704
    }

    /*D3分析成果冗余状态(公共)[9965]   */
    Assert.isNull(analysisAchiveStateCodeComReqDto.getAchievementId(),"D3修改成果冗余状态(公共)-D3分析成果冗余状态(公共)-成果ID不能为空",false);
Assert.isNull(analysisAchiveStateCodeComReqDto.getAchiveOperateType(),"D3修改成果冗余状态(公共)-D3分析成果冗余状态(公共)-成果操作类型不能为空",false);
Assert.isNull(analysisAchiveStateCodeComReqDto.getSpaceId(),"D3修改成果冗余状态(公共)-D3分析成果冗余状态(公共)-创建于空间ID不能为空",false);
      analysisAchiveStateCodeComRespDto = analysisAchiveStateCodeCom(analysisAchiveStateCodeComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage 3-10-01修改成果  71705
      boolean bOOLEAN ;
    if(analysisAchiveStateCodeComRespDto !=null){
          OmsAchievement omsAchievement=new OmsAchievement();
  if(reqDto!=null){
      omsAchievement.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1936715_1_71705
    }
if(analysisAchiveStateCodeComRespDto!=null){
      omsAchievement.setAchivementStateCode(analysisAchiveStateCodeComRespDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1936717_1_71705
omsAchievement.setAuditInductionId(analysisAchiveStateCodeComRespDto.getAuditInductionId());//SimpleFieldAssign//sourceId:1936718_1_71705
omsAchievement.setAuthenInductionId(analysisAchiveStateCodeComRespDto.getAuthenInductionId());//SimpleFieldAssign//sourceId:1936719_1_71705
omsAchievement.setSubjectLifeCycle(analysisAchiveStateCodeComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1936716_1_71705
omsAchievement.setIsArchive(analysisAchiveStateCodeComRespDto.getIsArchive());//SimpleFieldAssign//sourceId:1937517_1_71705
    }

    /*3-10-01修改成果[9121]   */
    Assert.isNull(omsAchievement.getAchievementId(),"D3修改成果冗余状态(公共)-3-10-01修改成果-成果ID不能为空",false);
      bOOLEAN = mOmsAchievementService.updateAchievement(omsAchievement)/*vcase invoke 本地 method 方法调用;*/;



           }
if((analysisAchiveStateCodeComRespDto!= null&& analysisAchiveStateCodeComRespDto.getSubjectLifeCycle() != null )) {
        //if(D3分析成果冗余状态(公共).主体生命周期 值不等于空 )  71706

UpdateAchievementCopyrightOwningComRespDto updateAchievementCopyrightOwningComRespDto = null;
    if(analysisAchiveStateCodeComRespDto !=null){
          UpdateAchievementCopyrightOwningComReqDto updateAchievementCopyrightOwningComReqDto=new UpdateAchievementCopyrightOwningComReqDto();
  if(analysisAchiveStateCodeComRespDto!=null){
      updateAchievementCopyrightOwningComReqDto.setAchievementCopyrightOwningId(analysisAchiveStateCodeComRespDto.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1937107_1_71709
updateAchievementCopyrightOwningComReqDto.setSubjectLifeCycle(analysisAchiveStateCodeComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1937112_1_71709
updateAchievementCopyrightOwningComReqDto.setIsArchive(analysisAchiveStateCodeComRespDto.getIsArchive());//SimpleFieldAssign//sourceId:1937518_1_71709
    }

    /*D3修改成果版权归属(公共)[9233]   */
    Assert.isNull(updateAchievementCopyrightOwningComReqDto.getAchievementCopyrightOwningId(),"D3修改成果冗余状态(公共)-D3修改成果版权归属(公共)-成果版权归属ID不能为空",false);
Assert.isNull(updateAchievementCopyrightOwningComReqDto.getSubjectLifeCycle(),"D3修改成果冗余状态(公共)-D3修改成果版权归属(公共)-主体生命周期不能为空",false);
      updateAchievementCopyrightOwningComRespDto = updateAchievementCopyrightOwningCom(updateAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;



           }
if((analysisAchiveStateCodeComRespDto!= null&&  analysisAchiveStateCodeComRespDto.getCopyrightObjectTypeCode() !=null && analysisAchiveStateCodeComRespDto.getCopyrightObjectTypeCode().equals("PERSONAL"))) {
        //if(D3分析成果冗余状态(公共).版权归属对象类型 等于 个人)  71736

ImplementAchievementTeamMemberPublishComRespDto implementAchievementTeamMemberPublishComRespDto = null;
    if(analysisAchiveStateCodeComRespDto !=null){
          ImplementAchievementTeamMemberPublishComReqDto implementAchievementTeamMemberPublishComReqDto=new ImplementAchievementTeamMemberPublishComReqDto();
  if(reqDto!=null){
      implementAchievementTeamMemberPublishComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1936748_1_71737
    }
if(analysisAchiveStateCodeComRespDto!=null){
      implementAchievementTeamMemberPublishComReqDto.setSubjectLifeCycle(analysisAchiveStateCodeComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1937106_1_71737
    }

    /*D3修改成果团队成员(公共)[9236]   */
    Assert.isNull(implementAchievementTeamMemberPublishComReqDto.getAchievementId(),"D3修改成果冗余状态(公共)-D3修改成果团队成员(公共)-成果ID不能为空",false);
Assert.isNull(implementAchievementTeamMemberPublishComReqDto.getSubjectLifeCycle(),"D3修改成果冗余状态(公共)-D3修改成果团队成员(公共)-主体生命周期不能为空",false);
      implementAchievementTeamMemberPublishComRespDto = implementAchievementTeamMemberPublishCom(implementAchievementTeamMemberPublishComReqDto)/*vcase invoke 同服务,同domain*/;



           }
           }
      }
UpdateAchiveStateCodeComRespDto retData = new UpdateAchiveStateCodeComRespDto();





return retData;
  }
/**
   * D3查询个人成果库列表(公共)[9970]
   * gen by moon at 7/19/2024, 12:06:40 AM
   */
  @Trace(operationName = "D3查询个人成果库列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryPersonalAchievementsListComRespDto queryPersonalAchievementsListCom(QueryPersonalAchievementsListComReqDto reqDto){


      BatchQueryAchievementInfoComRespDto batchQueryAchievementInfoComRespDto_1 =null;
//virtualUsage D3查询成果团队成员列表(公共)  71721
      QueryAchievementTeamMemberListComRespDto queryAchievementTeamMemberListComRespDto = null;
    QueryAchievementTeamMemberListComReqDto queryAchievementTeamMemberListComReqDto=new QueryAchievementTeamMemberListComReqDto();
  queryAchievementTeamMemberListComReqDto.setIsArchive("FALSE");//sourceId:1938156_1_71721
if(reqDto!=null){
      queryAchievementTeamMemberListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1938155_1_71721
queryAchievementTeamMemberListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1938157_1_71721
    }

    /*D3查询成果团队成员列表(公共)[9208]   */
    Assert.isNull(queryAchievementTeamMemberListComReqDto.getOriginalRoleMemberId(),"D3查询个人成果库列表(公共)-D3查询成果团队成员列表(公共)-身份人员ID不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getIsArchive(),"D3查询个人成果库列表(公共)-D3查询成果团队成员列表(公共)-是否存档不能为空",false);
Assert.isNull(queryAchievementTeamMemberListComReqDto.getSpaceId(),"D3查询个人成果库列表(公共)-D3查询成果团队成员列表(公共)-创建于空间ID不能为空",false);
      queryAchievementTeamMemberListComRespDto = queryAchievementTeamMemberListCom(queryAchievementTeamMemberListComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null && queryAchievementTeamMemberListComRespDto.getAchievementTeamList().size()>0)) {
        //if(D3查询成果团队成员列表(公共).成果团队列表数据集条数 大于 0)  71722

BatchQueryAchievementInfoComRespDto batchQueryAchievementInfoComRespDto = null;
    if(queryAchievementTeamMemberListComRespDto !=null){
          BatchQueryAchievementInfoComReqDto batchQueryAchievementInfoComReqDto=new BatchQueryAchievementInfoComReqDto();
  if(queryAchievementTeamMemberListComRespDto!= null&&  queryAchievementTeamMemberListComRespDto.getAchievementTeamList() !=null&& !CollectionUtil.isEmpty(queryAchievementTeamMemberListComRespDto.getAchievementTeamList())){
      batchQueryAchievementInfoComReqDto.setAchievementList(queryAchievementTeamMemberListComRespDto.getAchievementTeamList().stream().map(item->item.getAchievementId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1938151_1_71723
    }
if(reqDto!=null){
      batchQueryAchievementInfoComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1938241_1_71723
batchQueryAchievementInfoComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1938245_1_71723
batchQueryAchievementInfoComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1938246_1_71723
batchQueryAchievementInfoComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1938247_1_71723
batchQueryAchievementInfoComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1938248_1_71723
batchQueryAchievementInfoComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1938249_1_71723
batchQueryAchievementInfoComReqDto.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1938244_1_71723
batchQueryAchievementInfoComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1938242_1_71723
batchQueryAchievementInfoComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1938243_1_71723
batchQueryAchievementInfoComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1938152_1_71723
    }

    /*D3批量查询成果信息(公共)[9317]   */
    Assert.isNull(batchQueryAchievementInfoComReqDto.getSpaceId(),"D3查询个人成果库列表(公共)-D3批量查询成果信息(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementInfoComRespDto = batchQueryAchievementInfoCom(batchQueryAchievementInfoComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementInfoComRespDto_1 = batchQueryAchievementInfoComRespDto;
           }
      }
QueryPersonalAchievementsListComRespDto retData = new QueryPersonalAchievementsListComRespDto();
  if(batchQueryAchievementInfoComRespDto_1!=null){
      retData.setAchievementList(batchQueryAchievementInfoComRespDto_1.getAchievementList().stream().map(item -> BeanUtil.toBean(item, AchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1938291_1
    }




return retData;
  }
/**
   * D3执行初始化成果团队成员(公共)[9972]
   * gen by moon at 7/19/2024, 12:06:55 AM
   */
  @Trace(operationName = "D3执行初始化成果团队成员(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementIniAchievementTeamMemberComRespDto implementIniAchievementTeamMemberCom(ImplementIniAchievementTeamMemberComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("PERSONAL"))) {
        //if(D3执行初始化成果团队成员(公共).版权归属对象类型编码 等于 个人)  71724

AddAchievementTeamMemberComRespDto addAchievementTeamMemberComRespDto = null;
    AddAchievementTeamMemberComReqDto addAchievementTeamMemberComReqDto=new AddAchievementTeamMemberComReqDto();
  addAchievementTeamMemberComReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1938308_1_71725
if(reqDto!=null){
      addAchievementTeamMemberComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1938298_1_71725
addAchievementTeamMemberComReqDto.setIsManualCreate(reqDto.getIsManualCreate());//SimpleFieldAssign//sourceId:1938299_1_71725
addAchievementTeamMemberComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1938300_1_71725
addAchievementTeamMemberComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1938301_1_71725
addAchievementTeamMemberComReqDto.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1938302_1_71725
addAchievementTeamMemberComReqDto.setAchievementMemberName(reqDto.getAchievementMemberName());//SimpleFieldAssign//sourceId:1938303_1_71725
addAchievementTeamMemberComReqDto.setAchievementMemberNumber(reqDto.getAchievementMemberNumber());//SimpleFieldAssign//sourceId:1938304_1_71725
addAchievementTeamMemberComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1938305_1_71725
addAchievementTeamMemberComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1938306_1_71725
    }

    /*D3新增成果团队成员(公共)[9209]   */
    Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementId(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getIsManualCreate(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-是否人工输入不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberName(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-成果团队成员名称不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberNumber(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-成果团队成员编号不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOrderNumber(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-排序不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSubjectLifeCycle(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-主体生命周期不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSpaceId(),"D3执行初始化成果团队成员(公共)-D3新增成果团队成员(公共)-创建于空间ID不能为空",false);
      addAchievementTeamMemberComRespDto = addAchievementTeamMemberCom(addAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;



      }
ImplementIniAchievementTeamMemberComRespDto retData = new ImplementIniAchievementTeamMemberComRespDto();





return retData;
  }
/**
   * D3删除目标下成果(公共)[9974]
   * gen by moon at 7/20/2024, 8:42:47 PM
   */
  @Trace(operationName = "D3删除目标下成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public DeleteResultsUnderTargetComRespDto deleteResultsUnderTargetCom(DeleteResultsUnderTargetComReqDto reqDto){


      //virtualUsage 3-10-08查询对接成果关系详情  71727
      OmsAchievementDocking omsAchievementDocking = null;
    QueryAchievementDockingDetailReq queryAchievementDockingDetailReq=new QueryAchievementDockingDetailReq();
  queryAchievementDockingDetailReq.setIsArchive("FALSE");//sourceId:1938719_1_71727
queryAchievementDockingDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1938721_1_71727
queryAchievementDockingDetailReq.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1938722_1_71727
if(reqDto!=null){
      queryAchievementDockingDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1938732_1_71727
queryAchievementDockingDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1938733_1_71727
    }

    /*3-10-08查询对接成果关系详情[9312]   */
    Assert.isNull(queryAchievementDockingDetailReq.getAchievementId(),"D3删除目标下成果(公共)-3-10-08查询对接成果关系详情-关联成果ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getEvaluationTemplateId(),"D3删除目标下成果(公共)-3-10-08查询对接成果关系详情-归属评价模板ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getIsArchive(),"D3删除目标下成果(公共)-3-10-08查询对接成果关系详情-是否存档不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getSpaceId(),"D3删除目标下成果(公共)-3-10-08查询对接成果关系详情-创建于空间ID不能为空",false);
Assert.isNull(queryAchievementDockingDetailReq.getAppId(),"D3删除目标下成果(公共)-3-10-08查询对接成果关系详情-创建于联盟应用ID不能为空",false);
      omsAchievementDocking = mOmsAchievementDockingService.queryAchievementDockingDetail(queryAchievementDockingDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      Assert.isTrue(omsAchievementDocking== null||  omsAchievementDocking.getAchievementDockingId() ==null,"找不到数据，系统异常",false);


//virtualUsage D3删除对接成果关系业务处理(公共)  71805
      DeleteAchievementDockingBusinessHandleComRespDto deleteAchievementDockingBusinessHandleComRespDto = null;
    if(omsAchievementDocking !=null){
          DeleteAchievementDockingBusinessHandleComReqDto deleteAchievementDockingBusinessHandleComReqDto=new DeleteAchievementDockingBusinessHandleComReqDto();
  if(omsAchievementDocking!=null){
      deleteAchievementDockingBusinessHandleComReqDto.setAchievementDockingId(omsAchievementDocking.getAchievementDockingId());//SimpleFieldAssign//sourceId:1943948_1_71805
    }

    /*D3删除对接成果关系业务处理(公共)[9310]   */
    Assert.isNull(deleteAchievementDockingBusinessHandleComReqDto.getAchievementDockingId(),"D3删除目标下成果(公共)-D3删除对接成果关系业务处理(公共)-对接成果关系ID不能为空",false);
      deleteAchievementDockingBusinessHandleComRespDto = deleteAchievementDockingBusinessHandleCom(deleteAchievementDockingBusinessHandleComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//virtualUsage D3删除成果业务处理(公共)  71804
DeleteAchievementBusinessHandleComRespDto deleteAchievementBusinessHandleComRespDto = null;
    if(omsAchievementDocking !=null){
    DeleteAchievementBusinessHandleComReqDto deleteAchievementBusinessHandleComReqDto=new DeleteAchievementBusinessHandleComReqDto();
  deleteAchievementBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1938717_1_71804
if(omsAchievementDocking!=null){
      deleteAchievementBusinessHandleComReqDto.setAchievementId(omsAchievementDocking.getAchievementId());//SimpleFieldAssign//sourceId:1938716_1_71804
    }

    /*D3删除成果业务处理(公共)[9238]   */
    Assert.isNull(deleteAchievementBusinessHandleComReqDto.getAchievementId(),"D3删除目标下成果(公共)-D3删除成果业务处理(公共)-成果ID不能为空",false);
Assert.isNull(deleteAchievementBusinessHandleComReqDto.getSpaceId(),"D3删除目标下成果(公共)-D3删除成果业务处理(公共)-创建于空间ID不能为空",false);
      deleteAchievementBusinessHandleComRespDto = deleteAchievementBusinessHandleCom(deleteAchievementBusinessHandleComReqDto)/*vcase invoke 同服务,同domain*/;



    }
DeleteResultsUnderTargetComRespDto retData = new DeleteResultsUnderTargetComRespDto();





return retData;
  }
/**
   * D3新增成果业务处理(公共)[9217]
   * gen by moon at 7/20/2024, 8:42:39 PM
   */
  @Trace(operationName = "D3新增成果业务处理(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddAchievementBusinessHandleComRespDto addAchievementBusinessHandleCom(AddAchievementBusinessHandleComReqDto reqDto){


      AddAchievementComRespDto addAchievementComRespDto_1 =null;
AddAchievementCopyrightOwningComRespDto addAchievementCopyrightOwningComRespDto_1 =null;
//virtualUsage D3查询成果详情(公共)  65990
      QueryAchievementDetailComRespDto queryAchievementDetailComRespDto = null;
    QueryAchievementDetailComReqDto queryAchievementDetailComReqDto=new QueryAchievementDetailComReqDto();
  queryAchievementDetailComReqDto.setIsArchive("FALSE");//sourceId:1694862_1_65990
queryAchievementDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694864_1_65990
if(reqDto!=null){
      queryAchievementDetailComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1694890_1_65990
    }

    /*D3查询成果详情(公共)[9213]   */
    Assert.isNull(queryAchievementDetailComReqDto.getAchievementNumber(),"D3新增成果业务处理(公共)-D3查询成果详情(公共)-成果编号不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto.getIsArchive(),"D3新增成果业务处理(公共)-D3查询成果详情(公共)-是否存档不能为空",false);
Assert.isNull(queryAchievementDetailComReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D3查询成果详情(公共)-创建于空间ID不能为空",false);
      queryAchievementDetailComRespDto = queryAchievementDetailCom(queryAchievementDetailComReqDto)/*vcase invoke 同服务,同domain*/;



if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementId() == null )) {
        //if(D3查询成果详情（用于判断成果编号是否唯一）.成果ID 值等于空 )  65991

AddAchievementComRespDto addAchievementComRespDto = null;
    AddAchievementComReqDto addAchievementComReqDto=new AddAchievementComReqDto();
  addAchievementComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1693818_1_65992
addAchievementComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1693819_1_65992
if(reqDto!=null){
      addAchievementComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1693800_1_65992
addAchievementComReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1693799_1_65992
addAchievementComReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1693801_1_65992
addAchievementComReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1693802_1_65992
addAchievementComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1693803_1_65992
addAchievementComReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1693804_1_65992
addAchievementComReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1887262_1_65992
addAchievementComReqDto.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1887263_1_65992
addAchievementComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1693805_1_65992
addAchievementComReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1939181_1_65992
addAchievementComReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1693806_1_65992
addAchievementComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1693807_1_65992
addAchievementComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1937555_1_65992
addAchievementComReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1693808_1_65992
addAchievementComReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1693809_1_65992
addAchievementComReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1693810_1_65992
addAchievementComReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1693811_1_65992
addAchievementComReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1693814_1_65992
addAchievementComReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1693813_1_65992
addAchievementComReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1693815_1_65992
addAchievementComReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1693816_1_65992
    }

    /*D3新增成果(公共)[9210]   */
    Assert.isNull(addAchievementComReqDto.getAchievementTypeId(),"D3新增成果业务处理(公共)-D3新增成果(公共)-成果类型ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementTypeNumber(),"D3新增成果业务处理(公共)-D3新增成果(公共)-成果类型编号不能为空",false);
Assert.isNull(addAchievementComReqDto.getCopyrightObjectTypeCode(),"D3新增成果业务处理(公共)-D3新增成果(公共)-版权归属对象类型编码不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchiveLibraryType(),"D3新增成果业务处理(公共)-D3新增成果(公共)-成果库类型不能为空",false);
Assert.isNull(addAchievementComReqDto.getIsUseConversion(),"D3新增成果业务处理(公共)-D3新增成果(公共)-是否开启转化成果不能为空",false);
Assert.isNull(addAchievementComReqDto.getIsSymbolicAchievements(),"D3新增成果业务处理(公共)-D3新增成果(公共)-是否标志性成果不能为空",false);
Assert.isNull(addAchievementComReqDto.getDutyDeptId(),"D3新增成果业务处理(公共)-D3新增成果(公共)-业绩责任部门ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementNumber(),"D3新增成果业务处理(公共)-D3新增成果(公共)-成果编号不能为空",false);
Assert.isNull(addAchievementComReqDto.getAchievementName(),"D3新增成果业务处理(公共)-D3新增成果(公共)-成果名称不能为空",false);
Assert.isNull(addAchievementComReqDto.getAwardedTime(),"D3新增成果业务处理(公共)-D3新增成果(公共)-授予时间不能为空",false);
Assert.isNull(addAchievementComReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D3新增成果(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementComReqDto.getAppId(),"D3新增成果业务处理(公共)-D3新增成果(公共)-创建于联盟应用ID不能为空",false);
      addAchievementComRespDto = addAchievementCom(addAchievementComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementComRespDto_1 = addAchievementComRespDto;
AddAchievementCopyrightOwningComRespDto addAchievementCopyrightOwningComRespDto = null;
    if(addAchievementComRespDto !=null){
          AddAchievementCopyrightOwningComReqDto addAchievementCopyrightOwningComReqDto=new AddAchievementCopyrightOwningComReqDto();
  addAchievementCopyrightOwningComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1694637_1_65994
addAchievementCopyrightOwningComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1694638_1_65994
if(addAchievementComRespDto!=null){
      addAchievementCopyrightOwningComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1694631_1_65994
    }
if(reqDto!=null){
      addAchievementCopyrightOwningComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1694632_1_65994
addAchievementCopyrightOwningComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1694633_1_65994
addAchievementCopyrightOwningComReqDto.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1694634_1_65994
addAchievementCopyrightOwningComReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1694635_1_65994
    }

    /*D3新增成果版权归属(公共)[9219]   */
    Assert.isNull(addAchievementCopyrightOwningComReqDto.getAchievementId(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectTypeCode(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-版权归属对象类型不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectId(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-版权归属对象ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getCopyrightObjectName(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-版权归属对象名称不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getDutyDeptId(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-业绩责任部门ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-创建于空间ID不能为空",false);
Assert.isNull(addAchievementCopyrightOwningComReqDto.getAppId(),"D3新增成果业务处理(公共)-D3新增成果版权归属(公共)-创建于联盟应用ID不能为空",false);
      addAchievementCopyrightOwningComRespDto = addAchievementCopyrightOwningCom(addAchievementCopyrightOwningComReqDto)/*vcase invoke 同服务,同domain*/;


      addAchievementCopyrightOwningComRespDto_1 = addAchievementCopyrightOwningComRespDto;
           }
if((reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("PERSONAL"))) {
        //if(D3新增成果业务处理.版权归属对象类型编码 等于 个人)  71738

QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
    QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto=new QueryInductionRecordDetailComBorderReqDto();
  queryInductionRecordDetailComBorderReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1939171_1_71740
if(reqDto!=null){
      queryInductionRecordDetailComBorderReqDto.setInductionRecordId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1939166_1_71740
    }

    /*D1-3查询就职记录详情(公共)(边界)[1340]   */
    Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(),"D3新增成果业务处理(公共)-D1-3查询就职记录详情(公共)(边界)-就职记录ID不能为空",false);
Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D1-3查询就职记录详情(公共)(边界)-创建于空间ID不能为空",false);
      queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



AddAchievementTeamMemberComRespDto addAchievementTeamMemberComRespDto = null;
    if(addAchievementComRespDto !=null&&queryInductionRecordDetailComBorderRespDto !=null){
          AddAchievementTeamMemberComReqDto addAchievementTeamMemberComReqDto=new AddAchievementTeamMemberComReqDto();
  addAchievementTeamMemberComReqDto.setIsManualCreate("FALSE");//sourceId:1939135_1_71739
addAchievementTeamMemberComReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1939144_1_71739
addAchievementTeamMemberComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1939142_1_71739
if(addAchievementComRespDto!=null){
      addAchievementTeamMemberComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1939134_1_71739
    }
if(queryInductionRecordDetailComBorderRespDto!=null){
      addAchievementTeamMemberComReqDto.setUserId(queryInductionRecordDetailComBorderRespDto.getUserId());//SimpleFieldAssign//sourceId:1939136_1_71739
addAchievementTeamMemberComReqDto.setOriginalRoleMemberId(queryInductionRecordDetailComBorderRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1939137_1_71739
addAchievementTeamMemberComReqDto.setAchievementMemberName(queryInductionRecordDetailComBorderRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1939139_1_71739
addAchievementTeamMemberComReqDto.setAchievementMemberNumber(queryInductionRecordDetailComBorderRespDto.getRoleMemberCode());//SimpleFieldAssign//sourceId:1939140_1_71739
    }
if(reqDto!=null){
      addAchievementTeamMemberComReqDto.setInductionRecordId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1939138_1_71739
    }

    /*D3新增成果团队成员(公共)[9209]   */
    Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementId(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-成果ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getIsManualCreate(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-是否人工输入不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getUserId(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-个人账号ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOriginalRoleMemberId(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-身份人员ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getInductionRecordId(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-就职记录ID不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberName(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-成果团队成员名称不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getAchievementMemberNumber(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-成果团队成员编号不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getOrderNumber(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-排序不能为空",false);
Assert.isNull(addAchievementTeamMemberComReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D3新增成果团队成员(公共)-创建于空间ID不能为空",false);
      addAchievementTeamMemberComRespDto = addAchievementTeamMemberCom(addAchievementTeamMemberComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
if((reqDto!= null&&  reqDto.getSubjectLifeCycle() !=null && reqDto.getSubjectLifeCycle().equals("EDITING"))) {
        //if(D3新增成果业务处理.主体生命周期 等于 正在编辑)  71700

UpdateAchiveStateCodeComRespDto updateAchiveStateCodeComRespDto = null;
    if(addAchievementComRespDto !=null){
          UpdateAchiveStateCodeComReqDto updateAchiveStateCodeComReqDto=new UpdateAchiveStateCodeComReqDto();
  updateAchiveStateCodeComReqDto.setAchiveOperateType("ADD_EDIT_ACHIVE_TO_RELEASED");//sourceId:1936732_1_71702
updateAchiveStateCodeComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1936733_1_71702
if(addAchievementComRespDto!=null){
      updateAchiveStateCodeComReqDto.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1936731_1_71702
    }

    /*D3修改成果冗余状态-正在编辑[9966]   */
    Assert.isNull(updateAchiveStateCodeComReqDto.getAchievementId(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-正在编辑-成果ID不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto.getAchiveOperateType(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-正在编辑-成果操作类型不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto.getSpaceId(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-正在编辑-创建于空间ID不能为空",false);
      updateAchiveStateCodeComRespDto = updateAchiveStateCodeCom(updateAchiveStateCodeComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getSubjectLifeCycle() !=null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID"))){
       //elseif(D3新增成果业务处理.主体生命周期 等于 当前有效)  71701

UpdateAchiveStateCodeComRespDto updateAchiveStateCodeComRespDto_1 = null;
    if(addAchievementComRespDto !=null){
          UpdateAchiveStateCodeComReqDto updateAchiveStateCodeComReqDto_1=new UpdateAchiveStateCodeComReqDto();
  updateAchiveStateCodeComReqDto_1.setAchiveOperateType("ADD_AUDIT_TO_AUDIT");//sourceId:1936735_1_71703
updateAchiveStateCodeComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1936736_1_71703
if(addAchievementComRespDto!=null){
      updateAchiveStateCodeComReqDto_1.setAchievementId(addAchievementComRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1936734_1_71703
    }

    /*D3修改成果冗余状态-当前有效[9966]   */
    Assert.isNull(updateAchiveStateCodeComReqDto_1.getAchievementId(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-当前有效-成果ID不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto_1.getAchiveOperateType(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-当前有效-成果操作类型不能为空",false);
Assert.isNull(updateAchiveStateCodeComReqDto_1.getSpaceId(),"D3新增成果业务处理(公共)-D3修改成果冗余状态-当前有效-创建于空间ID不能为空",false);
      updateAchiveStateCodeComRespDto_1 = updateAchiveStateCodeCom(updateAchiveStateCodeComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
      }
else if((queryAchievementDetailComRespDto!= null&& queryAchievementDetailComRespDto.getAchievementId() != null )){
       //elseif(D3查询成果详情（用于判断成果编号是否唯一）.成果ID 值不等于空 )  65995

//异常结束 65996
      throw new BizException("3340000365","对不起，成果编号已存在~",false);
    }
AddAchievementBusinessHandleComRespDto retData = new AddAchievementBusinessHandleComRespDto();
  if(addAchievementComRespDto_1!=null){
      retData.setAchievementId(addAchievementComRespDto_1.getAchievementId());//SimpleFieldAssign//sourceId:1694667_1
    }
if(addAchievementCopyrightOwningComRespDto_1!=null){
      retData.setAchievementCopyrightOwningId(addAchievementCopyrightOwningComRespDto_1.getAchievementCopyrightOwningId());//SimpleFieldAssign//sourceId:1694669_1
    }




return retData;
  }
/**
   * D3新增目标下汇报成果(公共)[9993]
   * gen by moon at 8/6/2024, 12:53:24 AM
   */
  @Trace(operationName = "D3新增目标下汇报成果(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddResultsUnderTargetComRespDto addResultsUnderTargetCom(AddResultsUnderTargetComReqDto reqDto){


      //步骤0: D3新增成果业务处理 - addAchievementBusinessHandle
     AddAchievementBusinessHandleRespDto addAchievementBusinessHandleRespDto = null;
    AddAchievementBusinessHandleReqDto addAchievementBusinessHandleReqDto=new AddAchievementBusinessHandleReqDto();
  addAchievementBusinessHandleReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1943835_1
if(reqDto!=null){
      addAchievementBusinessHandleReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1943818_1
addAchievementBusinessHandleReqDto.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1943819_1
addAchievementBusinessHandleReqDto.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1943820_1
addAchievementBusinessHandleReqDto.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1943821_1
addAchievementBusinessHandleReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1943822_1
addAchievementBusinessHandleReqDto.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1943823_1
addAchievementBusinessHandleReqDto.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1943839_1
addAchievementBusinessHandleReqDto.setAchievementBusinessGradeNumber(reqDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:1943840_1
addAchievementBusinessHandleReqDto.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1943843_1
addAchievementBusinessHandleReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1943824_1
addAchievementBusinessHandleReqDto.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1943842_1
addAchievementBusinessHandleReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1943841_1
addAchievementBusinessHandleReqDto.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1943825_1
addAchievementBusinessHandleReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1943826_1
addAchievementBusinessHandleReqDto.setAchievementNumber(reqDto.getAchievementNumber());//SimpleFieldAssign//sourceId:1943827_1
addAchievementBusinessHandleReqDto.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1943828_1
addAchievementBusinessHandleReqDto.setAchievementDesc(reqDto.getAchievementDesc());//SimpleFieldAssign//sourceId:1943829_1
addAchievementBusinessHandleReqDto.setAchievementAddDesc(reqDto.getAchievementAddDesc());//SimpleFieldAssign//sourceId:1943830_1
addAchievementBusinessHandleReqDto.setRelatedDocument(reqDto.getRelatedDocument());//SimpleFieldAssign//sourceId:1943831_1
addAchievementBusinessHandleReqDto.setAwardedUnit(reqDto.getAwardedUnit());//SimpleFieldAssign//sourceId:1943832_1
addAchievementBusinessHandleReqDto.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1943833_1
addAchievementBusinessHandleReqDto.setValidEndTime(reqDto.getValidEndTime());//SimpleFieldAssign//sourceId:1943834_1
addAchievementBusinessHandleReqDto.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1943836_1
    }

    /*D3新增成果业务处理[9217]   */
    Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementTypeId(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-成果类型ID不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementTypeNumber(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-成果类型编号不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getAchiveLibraryType(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-成果库类型不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectTypeCode(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-版权归属对象类型编码不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectName(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-版权归属对象名称不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getCopyrightObjectId(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-版权归属对象ID不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getIsUseConversion(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-是否开启转化成果不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getIsSymbolicAchievements(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-是否标志性成果不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementNumber(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-成果编号不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getAchievementName(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-成果名称不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getAwardedTime(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-授予时间不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getSubjectLifeCycle(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-主体生命周期不能为空",false);
Assert.isNull(addAchievementBusinessHandleReqDto.getDutyDeptId(),"D3新增目标下汇报成果(公共)-D3新增成果业务处理-业绩责任部门ID不能为空",false);
      addAchievementBusinessHandleRespDto = addAchievementBusinessHandle(addAchievementBusinessHandleReqDto)/*vcase invoke 同服务,同domain*/;




//步骤1: D3新增对接成果关系业务处理(公共) - addAchievementDockingBusinessHandleCom
     AddAchievementDockingBusinessHandleComRespDto addAchievementDockingBusinessHandleComRespDto = null;
    if(addAchievementBusinessHandleRespDto !=null){
          AddAchievementDockingBusinessHandleComReqDto addAchievementDockingBusinessHandleComReqDto=new AddAchievementDockingBusinessHandleComReqDto();
  addAchievementDockingBusinessHandleComReqDto.setIsSymbolicAchievement("TRUE");//sourceId:1943845_1
addAchievementDockingBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1943851_1
if(addAchievementBusinessHandleRespDto!=null){
      addAchievementDockingBusinessHandleComReqDto.setAchievementId(addAchievementBusinessHandleRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1943844_1
    }
if(reqDto!=null){
      addAchievementDockingBusinessHandleComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1943846_1
addAchievementDockingBusinessHandleComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1943847_1
addAchievementDockingBusinessHandleComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1943854_1
addAchievementDockingBusinessHandleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1943853_1
addAchievementDockingBusinessHandleComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1943848_1
addAchievementDockingBusinessHandleComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1943849_1
addAchievementDockingBusinessHandleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1943850_1
    }

    /*D3新增对接成果关系业务处理(公共)[9301]   */
    Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getAchievementId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-关联成果ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getIsSymbolicAchievement(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-是否标志性成果不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getCycleStageDataId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-归属周期阶段资料ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getUpdateCycleId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-更新周期ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getCycleTypeCode(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-周期类型标识不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getEvaObjTargetCycleId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-归属子周期被评对象目标周期ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getTargetCycleContentTypeCode(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-归属目标内容类型编码不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getTargetCycleContentId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-归属目标内容ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getEvaluationTemplateId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-归属评价模板ID不能为空",false);
Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getSpaceId(),"D3新增目标下汇报成果(公共)-D3新增对接成果关系业务处理(公共)-创建于空间ID不能为空",false);
      addAchievementDockingBusinessHandleComRespDto = addAchievementDockingBusinessHandleCom(addAchievementDockingBusinessHandleComReqDto)/*vcase invoke 同服务,同domain*/;



           }

//步骤2: D3新增或修改目标下汇报成果文档关系(公共) - addTargetReportAchievementDocAndDocRelaCom
     AddTargetReportAchievementDocAndDocRelaComRespDto addTargetReportAchievementDocAndDocRelaComRespDto = null;
    if(addAchievementBusinessHandleRespDto !=null){
          AddTargetReportAchievementDocAndDocRelaComReqDto addTargetReportAchievementDocAndDocRelaComReqDto=new AddTargetReportAchievementDocAndDocRelaComReqDto();
  addTargetReportAchievementDocAndDocRelaComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1947760_1
addTargetReportAchievementDocAndDocRelaComReqDto.setDocUseSceneCode("PLANNING");//sourceId:1947761_1
addTargetReportAchievementDocAndDocRelaComReqDto.setDocUseType("ACHIVEMENT");//sourceId:1947762_1
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnTableTypeCode("OMS_ACHIEVEMENT");//sourceId:1947764_1
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentTypeCode("OMS_ACHIEVEMENT_TYPE");//sourceId:1947765_1
addTargetReportAchievementDocAndDocRelaComReqDto.setThemeContentTypeCode("OMS_ORG_DEPT");//sourceId:1947768_1
addTargetReportAchievementDocAndDocRelaComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1947775_1
if(addAchievementBusinessHandleRespDto!=null){
      addTargetReportAchievementDocAndDocRelaComReqDto.setOwnEntityId(addAchievementBusinessHandleRespDto.getAchievementId());//SimpleFieldAssign//sourceId:1947763_1
    }
if(reqDto!=null){
      addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1947767_1
addTargetReportAchievementDocAndDocRelaComReqDto.setOwnParentContentCode(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1947766_1
addTargetReportAchievementDocAndDocRelaComReqDto.setThemeContentId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1947769_1
addTargetReportAchievementDocAndDocRelaComReqDto.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1947771_1
addTargetReportAchievementDocAndDocRelaComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1947772_1
addTargetReportAchievementDocAndDocRelaComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1957483_1
    }
if(reqDto!= null&&  reqDto.getDocumentList() !=null&& !CollectionUtil.isEmpty(reqDto.getDocumentList())){
      addTargetReportAchievementDocAndDocRelaComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1947759_1
    }

    /*D3新增或修改目标下汇报成果文档关系(公共)[10022]   */
    Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getIsCleanPersonalInvalidDocument(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-是否清理个人无效文档不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getDocUseSceneCode(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-文档应用业务场景不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getDocUseType(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-文档用途类型不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnEntityId(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属内容表主键ID不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getOwnTableTypeCode(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-归属内容表类型编码不能为空",false);
Assert.isNull(addTargetReportAchievementDocAndDocRelaComReqDto.getSpaceId(),"D3新增目标下汇报成果(公共)-D3新增或修改目标下汇报成果文档关系(公共)-创建于空间ID不能为空",false);
      addTargetReportAchievementDocAndDocRelaComRespDto = unstructuredDataService.addTargetReportAchievementDocAndDocRelaCom(addTargetReportAchievementDocAndDocRelaComReqDto)/*vcase invoke isSameApp*/;



           }

AddResultsUnderTargetComRespDto retData = new AddResultsUnderTargetComRespDto();





return retData;
  }
/**
   * D3执行删除成果判断(公共)[9996]
   * gen by moon at 7/20/2024, 8:43:22 PM
   */
  @Trace(operationName = "D3执行删除成果判断(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementDeleteAchieveComRespDto implementDeleteAchieveCom(ImplementDeleteAchieveComReqDto reqDto){


      //步骤0: 3-10-01查询成果详情 - queryAchievementDetail
     OmsAchievement omsAchievement = null;
    QueryAchievementDetailReq queryAchievementDetailReq=new QueryAchievementDetailReq();
  if(reqDto!=null){
      queryAchievementDetailReq.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1944001_1
queryAchievementDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1944002_1
    }

    /*3-10-01查询成果详情[9124]   */
    Assert.isNull(queryAchievementDetailReq.getAchievementId(),"D3执行删除成果判断(公共)-3-10-01查询成果详情-成果ID不能为空",false);
Assert.isNull(queryAchievementDetailReq.getSpaceId(),"D3执行删除成果判断(公共)-3-10-01查询成果详情-创建于空间ID不能为空",false);
      omsAchievement = mOmsAchievementService.queryAchievementDetail(queryAchievementDetailReq)/*vcase invoke 本地 method 方法调用;*/;




//步骤1: D1执行生命周期判断(公共) - implementLifeCycleJudgmentCom
     ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
    if(omsAchievement !=null){
          ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto=new ImplementLifeCycleJudgmentComReqDto();
  implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1943999_1
if(omsAchievement!=null){
      implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(omsAchievement.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1944000_1
    }

    /*D1执行生命周期判断(公共)[7830]   */
    Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(),"D3执行删除成果判断(公共)-D1执行生命周期判断(公共)-主体生命周期不能为空",false);
Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(),"D3执行删除成果判断(公共)-D1执行生命周期判断(公共)-生命周期操作类型不能为空",false);
      implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }

ImplementDeleteAchieveComRespDto retData = new ImplementDeleteAchieveComRespDto();





return retData;
  }
/**
   * D3执行分析成果版权归属对象(公共)[10023]
   * gen by moon at 7/23/2024, 2:45:14 AM
   */
  @Trace(operationName = "D3执行分析成果版权归属对象(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalyzeAchievementCopyrightOwnInfoComRespDto implementAnalyzeAchievementCopyrightOwnInfoCom(ImplementAnalyzeAchievementCopyrightOwnInfoComReqDto reqDto){


      ImplementElevenReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("ORGANIZATION")||reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("DEPARTMENT"))) {
        //if((D3执行分析成果版权归属对象(公共).版权归属对象类型编码 等于 组织 or D3执行分析成果版权归属对象(公共).版权归属对象类型编码 等于 部门))  71859

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1949082_1_71869
receptionServiceReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1949083_1_71869
    }

    /*M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCopyrightObjectTypeCode(),"D3执行分析成果版权归属对象(公共)-M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID-版权归属对象类型编码不能为空",false);
Assert.isNull(receptionServiceReq.getCopyrightObjectId(),"D3执行分析成果版权归属对象(公共)-M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID-冗余版权归属对象ID不能为空",false);
      receptionServiceRes = nbAchievement.implementElevenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if(reqDto!= null&&  reqDto.getCopyrightObjectTypeCode() !=null && reqDto.getCopyrightObjectTypeCode().equals("PERSONAL")){
       //elseif(D3执行分析成果版权归属对象(公共).版权归属对象类型编码 等于 PERSONAL)  71861

QuerySingleInductionRecordIdDetailComRespDto querySingleInductionRecordIdDetailComRespDto = null;
    QuerySingleInductionRecordIdDetailComReqDto querySingleInductionRecordIdDetailComReqDto=new QuerySingleInductionRecordIdDetailComReqDto();
  if(reqDto!=null){
      querySingleInductionRecordIdDetailComReqDto.setInductionRecordId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1948249_1_71862
    }

    /*D1-3-13查询单条就职记录详情(公共)[4306]   */
    Assert.isNull(querySingleInductionRecordIdDetailComReqDto.getInductionRecordId(),"D3执行分析成果版权归属对象(公共)-D1-3-13查询单条就职记录详情(公共)-就职记录ID不能为空",false);
      querySingleInductionRecordIdDetailComRespDto = fwBaseSystemTestDomainClient.querySingleInductionRecordIdDetailCom(querySingleInductionRecordIdDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
    if(querySingleInductionRecordIdDetailComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq_1=new ImplementElevenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setCopyrightObjectTypeCode(reqDto.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1949082_1_71870
receptionServiceReq_1.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1949083_1_71870
    }
if(querySingleInductionRecordIdDetailComRespDto!=null){
      receptionServiceReq_1.setUserId(querySingleInductionRecordIdDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1949090_1_71870
    }

    /*M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCopyrightObjectTypeCode(),"D3执行分析成果版权归属对象(公共)-M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID-版权归属对象类型编码不能为空",false);
Assert.isNull(receptionServiceReq_1.getCopyrightObjectId(),"D3执行分析成果版权归属对象(公共)-M3-接收出参字段：版权归属对象类型、版权归属对象ID、归属个人账号ID-冗余版权归属对象ID不能为空",false);
      receptionServiceRes_2 = nbAchievement.implementElevenReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
ImplementAnalyzeAchievementCopyrightOwnInfoComRespDto retData = new ImplementAnalyzeAchievementCopyrightOwnInfoComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setCopyrightObjectTypeCode(receptionServiceRes_1.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:1949094_1
retData.setCopyrightObjectId(receptionServiceRes_1.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1949095_1
retData.setUserId(receptionServiceRes_1.getUserId());//SimpleFieldAssign//sourceId:1949096_1
    }




return retData;
  }
/**
   * D3批量查询成果及相关信息(公共)[10096]
   * gen by moon at 8/15/2024, 7:14:50 PM
   */
  @Trace(operationName = "D3批量查询成果及相关信息(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementRelevantInfoComRespDto batchQueryAchievementRelevantInfoCom(BatchQueryAchievementRelevantInfoComReqDto reqDto){


      List<OmsAchievement> listOmsAchievement_1 =new ArrayList<>();
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 =null;
List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning_1 =new ArrayList<>();
if((reqDto!= null&&  reqDto.getAchievementList() !=null && reqDto.getAchievementList().size()>0)) {
        //if(D3批量查询成果及相关信息(公共).成果列表数据集条数 大于 0)  72164

List<OmsAchievement> listOmsAchievement =new ArrayList<>();
    BatchQueryAchievementReq batchQueryAchievementReq=new BatchQueryAchievementReq();
  if(reqDto!=null){
      batchQueryAchievementReq.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1970779_1_72165
batchQueryAchievementReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1970780_1_72165
batchQueryAchievementReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1970781_1_72165
batchQueryAchievementReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1970782_1_72165
batchQueryAchievementReq.setAchievementBusinessGradeId(reqDto.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:1970794_1_72165
batchQueryAchievementReq.setAchievementName(reqDto.getAchievementName());//SimpleFieldAssign//sourceId:1970793_1_72165
batchQueryAchievementReq.setAchiveLibraryType(reqDto.getAchiveLibraryType());//SimpleFieldAssign//sourceId:1970791_1_72165
batchQueryAchievementReq.setIsUseConversion(reqDto.getIsUseConversion());//SimpleFieldAssign//sourceId:1970784_1_72165
batchQueryAchievementReq.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1970785_1_72165
batchQueryAchievementReq.setAchivementStateCode(reqDto.getAchivementStateCode());//SimpleFieldAssign//sourceId:1970792_1_72165
batchQueryAchievementReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1970789_1_72165
    }

    /*3-10-01批量查询成果[9260]   */
    Assert.isNull(batchQueryAchievementReq.getSpaceId(),"D3批量查询成果及相关信息(公共)-3-10-01批量查询成果-创建于空间ID不能为空",false);
      listOmsAchievement = mOmsAchievementService.batchQueryAchievement(batchQueryAchievementReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievement_1 = listOmsAchievement;
BatchQueryAchievementTypeAndLevelEtcInfoComRespDto batchQueryAchievementTypeAndLevelEtcInfoComRespDto = null;
    if(listOmsAchievement !=null&& !CollectionUtil.isEmpty(listOmsAchievement)&& listOmsAchievement.size()>0 ){
          BatchQueryAchievementTypeAndLevelEtcInfoComReqDto batchQueryAchievementTypeAndLevelEtcInfoComReqDto=new BatchQueryAchievementTypeAndLevelEtcInfoComReqDto();
  //todo dong 未找到匹配生成策略,请检查生成策略batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setAchievementInfoList(listOmsAchievement),数据源项; to( ==>tableName:undefined, fieldEnname:achievementInfoList ,uniqueId: 1970797_1_72166 uniqueSourceId:1970790_1_72165) from (varName:undefined fieldlistOmsAchievement)
        batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setAchievementInfoList(listOmsAchievement.stream().map(item -> BeanUtil.toBean(item, AchievementInfoDto.class)).collect(Collectors.toList()));
if(reqDto!=null){
      batchQueryAchievementTypeAndLevelEtcInfoComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1970796_1_72166
    }


    /*D3批量查询成果类型及等级等信息(公共)[9264]   */
    Assert.isNull(batchQueryAchievementTypeAndLevelEtcInfoComReqDto.getSpaceId(),"D3批量查询成果及相关信息(公共)-D3批量查询成果类型及等级等信息(公共)-创建于空间ID不能为空",false);
      batchQueryAchievementTypeAndLevelEtcInfoComRespDto = batchQueryAchievementTypeAndLevelEtcInfoCom(batchQueryAchievementTypeAndLevelEtcInfoComReqDto)/*vcase invoke 同服务,同domain*/;


      batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1 = batchQueryAchievementTypeAndLevelEtcInfoComRespDto;
           }
List<OmsAchievementCopyrightOwning> listOmsAchievementCopyrightOwning =new ArrayList<>();
    BatchQueryAchievementCopyrightOwningReq batchQueryAchievementCopyrightOwningReq=new BatchQueryAchievementCopyrightOwningReq();
  if(reqDto!=null){
      batchQueryAchievementCopyrightOwningReq.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1970799_1_72167
batchQueryAchievementCopyrightOwningReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1970802_1_72167
    }

    /*3-10-07批量查询成果版权归属[9330]   */
    Assert.isNull(batchQueryAchievementCopyrightOwningReq.getSpaceId(),"D3批量查询成果及相关信息(公共)-3-10-07批量查询成果版权归属-创建于空间ID不能为空",false);
      listOmsAchievementCopyrightOwning = mOmsAchievementCopyrightOwningService.batchQueryAchievementCopyrightOwning(batchQueryAchievementCopyrightOwningReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievementCopyrightOwning_1 = listOmsAchievementCopyrightOwning;
      }
BatchQueryAchievementRelevantInfoComRespDto retData = new BatchQueryAchievementRelevantInfoComRespDto();
  //数据集融合  MoreListToOneSource
        if(listOmsAchievement_1!= null&& !CollectionUtil.isEmpty(listOmsAchievement_1) && !CollectionUtil.isEmpty(listOmsAchievement_1) ){
          for (OmsAchievement omsAchievement : listOmsAchievement_1) {
              AchievementDto retElm = new AchievementDto();
             retElm.setAchievementId(omsAchievement.getAchievementId());//SimpleFieldAssign//sourceId:407397_2
retElm.setAchievementNumber(omsAchievement.getAchievementNumber());//SimpleFieldAssign//sourceId:407398_2
retElm.setAchievementName(omsAchievement.getAchievementName());//SimpleFieldAssign//sourceId:407399_2
retElm.setRelatedDocument(omsAchievement.getRelatedDocument());//SimpleFieldAssign//sourceId:407400_2
retElm.setAwardedUnit(omsAchievement.getAwardedUnit());//SimpleFieldAssign//sourceId:407401_2
retElm.setAwardedTime(omsAchievement.getAwardedTime());//SimpleFieldAssign//sourceId:407402_2
retElm.setValidEndTime(omsAchievement.getValidEndTime());//SimpleFieldAssign//sourceId:407403_2
retElm.setAchievementTypeId(omsAchievement.getAchievementTypeId());//SimpleFieldAssign//sourceId:407404_2
retElm.setAchievementCategoryId(omsAchievement.getAchievementCategoryId());//SimpleFieldAssign//sourceId:407405_2
retElm.setAchievementGradeId(omsAchievement.getAchievementGradeId());//SimpleFieldAssign//sourceId:407406_2
retElm.setAchievementBusinessGradeId(omsAchievement.getAchievementBusinessGradeId());//SimpleFieldAssign//sourceId:407407_2
retElm.setIsSymbolicAchievements(omsAchievement.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:407408_2
              retData.getAchievementList().add(retElm);
               if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!= null){
          for (AchievementInfoDto achievementInfoDto : batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1.getAchievementInfoList()) {
                if (achievementInfoDto.getAchievementId().equals(omsAchievement.getAchievementId())) {
                 if(batchQueryAchievementTypeAndLevelEtcInfoComRespDto_1!=null){
      retElm.setAchievementTypeNumber(achievementInfoDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:407410_2
retElm.setAchievementTypeName(achievementInfoDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:407411_2
retElm.setAchievementCategoryNumber(achievementInfoDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:407413_2
retElm.setAchievementCategoryName(achievementInfoDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:407414_2
retElm.setAchievementGradeNumber(achievementInfoDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:407415_2
retElm.setAchievementGradeName(achievementInfoDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:407416_2
retElm.setAchievementBusinessGradeNumber(achievementInfoDto.getAchievementBusinessGradeNumber());//SimpleFieldAssign//sourceId:407417_2
retElm.setAchievementBusinessGradeName(achievementInfoDto.getAchievementBusinessGradeName());//SimpleFieldAssign//sourceId:407418_2
retElm.setBelongName(achievementInfoDto.getBelongName());//SimpleFieldAssign//sourceId:407422_2
    }
                }
            }
          }

 if(listOmsAchievementCopyrightOwning_1!= null&& !CollectionUtil.isEmpty(listOmsAchievementCopyrightOwning_1)){
          for (OmsAchievementCopyrightOwning omsAchievementCopyrightOwning : listOmsAchievementCopyrightOwning_1) {
                if (omsAchievementCopyrightOwning.getAchievementId().equals(omsAchievement.getAchievementId())) {
                 retElm.setCopyrightObjectId(omsAchievementCopyrightOwning.getCopyrightObjectId());//SimpleFieldAssign//sourceId:407419_2
retElm.setCopyrightObjectTypeCode(omsAchievementCopyrightOwning.getCopyrightObjectTypeCode());//SimpleFieldAssign//sourceId:407420_2
retElm.setCopyrightObjectName(omsAchievementCopyrightOwning.getCopyrightObjectName());//SimpleFieldAssign//sourceId:407421_2
                }
            }
          }

          }
        }//sourceId:1970810_1




return retData;
  }
/**
   * D3批量查询成果by创建人(公共)[10098]
   * gen by moon at 8/15/2024, 10:50:02 PM
   */
  @Trace(operationName = "D3批量查询成果by创建人(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public BatchQueryAchievementByCreateInductionIdComRespDto batchQueryAchievementByCreateInductionIdCom(BatchQueryAchievementByCreateInductionIdComReqDto reqDto){


      List<OmsAchievement> listOmsAchievement_1 =new ArrayList<>();
//步骤0: 3-10-01批量查询成果by创建人(公共) - batchQueryAchievementByCreateInductionIdCom
     List<OmsAchievement> listOmsAchievement =new ArrayList<>();
    BatchQueryAchievementByCreateInductionIdComReq batchQueryAchievementByCreateInductionIdComReq=new BatchQueryAchievementByCreateInductionIdComReq();
  if(reqDto!=null){
      batchQueryAchievementByCreateInductionIdComReq.setAchievementList(reqDto.getAchievementList());//list-field-assign//sourceId:1970967_1
batchQueryAchievementByCreateInductionIdComReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1970968_1
    }

    /*3-10-01批量查询成果by创建人(公共)[10097]   */
    Assert.isNull(batchQueryAchievementByCreateInductionIdComReq.getSpaceId(),"D3批量查询成果by创建人(公共)-3-10-01批量查询成果by创建人(公共)-创建于空间ID不能为空",false);
      listOmsAchievement = mOmsAchievementService.batchQueryAchievementByCreateInductionIdCom(batchQueryAchievementByCreateInductionIdComReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsAchievement_1 = listOmsAchievement;

BatchQueryAchievementByCreateInductionIdComRespDto retData = new BatchQueryAchievementByCreateInductionIdComRespDto();
  retData.setAchievementList(listOmsAchievement_1.stream().map(item -> BeanUtil.toBean(item, AchievementDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1970970_1




return retData;
  }
@Resource
 private MOmsAchievementGradeService mOmsAchievementGradeService;
@Resource
  private MOmsAchievementService mOmsAchievementService;
@Resource
 private MOmsAchievementCopyrightOwningService mOmsAchievementCopyrightOwningService;
@Resource
 private MOmsAchievementTeamMemberService mOmsAchievementTeamMemberService;
@Resource
  private FwCompInterfaceModeClient fwCompInterfaceModeClient;
@Resource
  private MOmsAchievementDockingService mOmsAchievementDockingService;
@Resource
  private UnstructuredDataService unstructuredDataService;
@Resource
  private TargetCalcService targetCalcService;
@Resource
  private SmallCircleCommonService smallCircleCommonService;
@Resource
  private EvaThemeService evaThemeService;
@Resource
  private FwCalcTargetCalcClient fwCalcTargetCalcClient;
@Resource
  private FwBaseOrgClient fwBaseOrgClient;
@Resource
  private IndexSystemService indexSystemService;
@Resource
  private CycleTypeService cycleTypeService;
@Resource
  private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
@Resource
  private VirtualOrgService virtualOrgService;
@Resource
  private AchievementDockService achievementDockService;
@Resource
  private FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
  private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
@Resource
  private FwBaseInductionRecordClient fwBaseInductionRecordClient;
@Resource
  private FwCompUnstructuredDataClient fwCompUnstructuredDataClient;
@Resource
  private FwBaseSystemTestDomainClient fwBaseSystemTestDomainClient;
@Resource
  private MOmsBizAppHypertextContentService mOmsBizAppHypertextContentService;
@Resource
  private HypertextContentService hypertextContentService;
//@Resource
 //private HypertextContentService hypertextContentService;
//@Resource
 //private MCustomFields5Service mCustomFields5Service;

}
